Well, after getting tired of using prints to debug, I’ve decided to setup the debugger. After setting the launch as this:
{
"configurations": [
{
"type": "mix_task",
"name": "mix phx.server",
"request": "launch",
"task": "phx.server",
"projectDir": "${workspaceRoot}",
"exitAfterTaskReturns": false
}
]
}
I get the following error:
[error] :gen_statem #PID<0.3054.0> terminating
** (ErlangError) Erlang error: :not_loaded
(erts 17.0.2) :erlang.nif_error(:not_loaded)
(exqlite 0.39.0) Elixir.Exqlite.Sqlite3NIF.erl:27: Exqlite.Sqlite3NIF.open/2
(exqlite 0.39.0) Elixir.Exqlite.Connection.erl:584: Exqlite.Connection.do_connect/2
(db_connection 2.10.2) Elixir.DBConnection.Connection.erl:81: DBConnection.Connection.handle_event/4
Process Label: "db_conn_1"
Queue: [internal: {:connect, :init}]
Postponed: []
State: Exqlite.Connection
Anyone have any clue on where to start solving that?


















