Trying to debug my Phoenix project in VSCode using ElixirLS. The launch config is defined as
{
"type": "mix_task",
"name": "mix phx.server",
"request": "launch",
"task": "phx.server",
"projectDir": "${workspaceRoot}"
}
The debugger starts and displays call stack for a fraction of a second but then immediately stops after "[info] Access TestAppWeb.Endpoint at http://localhost:4000" (see animated gif below). Has anyone gotten this to work?
Elixir 1.9.1
Seems like this issue is fixed in the fork of ElixirLS at https://github.com/elixir-lsp/elixir-ls .
The original repo doesn't have any commits since 10 Aug 2019, but the fork is pretty active.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With