Hacker News new | past | comments | ask | show | jobs | submit login

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.



Debugging in IEx is actually quite nice (https://nts.strzibny.name/elixir-interactive-shell-iex/), but I agree that GUI-wise there is nothing I want to use.


I 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.


I'll need to do more research and maybe see if there are videos online showing how other developers debug in Elixir with those libraries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: