19 ms·
> AFAIK, you're relegated to rather primitive "println debugging" with Elixir - has this been an issue for you in practice? Not at all. The traditional BEAM w
by OvermindDL1 7y ago
> AFAIK, you're relegated to rather primitive "println debugging" with Elixir - has this been an issue for you in practice?
Not at all. The traditional BEAM way of debugging is the tracing modules. For little things an `IEx.pry()` is often good enough though.
- GordonS 7y ago> The traditional BEAM way of debugging is the tracing modules Excuse my ignorance, but by "tracing modules", do you mean "println debugging"? I had a quick look at IEx.pry(), which at a glace I think gives you a repl at a given breakpoint? It looks like it also requires you to instrument your code with breakpoints, which TBH feels a bit ugly (but could presumably be solved with the right IDE)