Skip to content

Instantly share code, notes, and snippets.

@Walkeryr
Last active November 29, 2022 15:20
Show Gist options
  • Save Walkeryr/34f12038ff501ab40294ef8942dd8ac6 to your computer and use it in GitHub Desktop.
Save Walkeryr/34f12038ff501ab40294ef8942dd8ac6 to your computer and use it in GitHub Desktop.
2022-11-29 How to debug Elm code

Debug.log returns passed value, so it can be used in between chain of function calls:

encodePerson <| Debug.log "person" <| mergeFn person
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment