Hello! An Elixir neophyte here. I’d like to debug my code using VS Code. I saw in the ReadMe for ElixirLS you can sink breakpoints for one’s code and step through it, as one might with an IDE (or other language even in VS Code).
The code I am learning with I’ve compiled by running
iex -S mix and I am invoking
MyModule.my_function(someArg) but the breakpoint i placed in VS Code on some line in
my_function is never hit. I do see that there is an open issue where one can’t debug in an
iex -S mix session. So that brings me to my question: How do I hit this break point? Is there some setup in VS Code or something to pass to mix to enable debugging so I can hit the breakpoint in VS Code?
Thanks a bunch!