mxsdev / nvim-dap-vscode-js

nvim-dap adapter for vscode-js-debug
266 stars 24 forks source link

Getting errors on attach #36

Open bezlant opened 1 year ago

bezlant commented 1 year ago

When I try to attach to a process with running ts-node server, i get an error. I've tried to change the port in the server setup in attach method, but I keep getting the same erorr. 2023-03-08-100333_2009x33_escrotum Is there a step by step guide for debbuging node server?

bezlant commented 1 year ago

Seems to be working now for some magical reason. :O

bezlant commented 1 year ago

I figured out the problem was in launching ts-node-dev without the flag --inspect which allows the debugger to connect.