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
mix run
. Project launches, debugger is attached, then exits. – jayp