There aren’t many functions in the standard lib for elm that create side effects. Elm’s
Debug.log is one of those exceptions. It logs to the console. Here’s how it’s setup to make console logging whilst piping easier that patting your head whilst rubbing your tummy.
One of the worst things to debug can be something that works just fine in your local development environment but does not work in a deployed environment. If you deploy to Tomcat, you can debug it remotely. If you use IntelliJ IDEA, you can do it with style.