The format of
Debug.log can get unreadable for complex or big datastructure and sometimes you can’t use the Elm Debugger so all you can count in is
elm-debug-transformer - https://github.com/kraklin/elm-debug-transformer
It parses Debug.log console messages and returns complex object that can be transformed into nice “Elm Debugger like” structure right in your console. It replaces your console.log() and when it can parse the message (it is in format that
Debug.log outputs) it transforms it form this
into this nice collapsable output right in your console
- more colours for types like string number etc.
- simpler object output so you can use it even with non-Chrome browsers
Ideas, issues, enhancements and PR’s are welcomed.