4 ms·
I have found Elixir as a whole to be amazing, but the debugging process to be painful. Maybe its because I'm used to using Chrome's developer tools (since I mos
by wmock 6y ago
I have found Elixir as a whole to be amazing, but the debugging process to be painful. Maybe its because I'm used to using Chrome's developer tools (since I mostly debug JavaScript), but I really wish that debugging on Elixir could be simpler. Using printf's is just too painful and feels backwards.
- strzibny 6y agoDebugging in IEx is actually quite nice (https://nts.strzibny.name/elixir-interactive-shell-iex/ https://nts.strzibny.name/elixir-interactive-shell-iex/), but I agree that GUI-wise there is nothing I want to use.
- e_proxus 6y agoI would recommend you learn the dbg module that comes with Erlang. Its a great tracing debugger able to trace existing code in runtime without having to modify the source. There are also several wrappers on top of the Erlang tracing tools, like Recon for example.
- wmock 6y agoI'll need to do more research and maybe see if there are videos online showing how other developers debug in Elixir with those libraries.