-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug Attaching seems like it is trying to start it's own server [EADDRINUSE] #43
Comments
I'm having a similar issue. My config looks like this:
I get the following error when I try to launch the debugger:
|
Hi! same error |
I'm having the same issue. I traced it down to this PR microsoft/vscode-js-debug#1771 If I checkout the commit in the What I did for now is deleted {
"mxsdev/nvim-dap-vscode-js",
dependencies = { "mfussenegger/nvim-dap", {
'microsoft/vscode-js-debug',
commit = "4d7c704d3f07",
build = 'npm i && npm run compile vsDebugServerBundle && mv dist out',
} }
} |
Think I figured it out. This line Becomes something like process.env['NODE_OPTIONS'] =
(process.env['NODE_OPTIONS'] || '') +
' --require /Users/you/.local/share/nvim/lazy/vscode-js-debug/out/src/bootloader.js '; Before that PR you'd have something like: NODE_OPTIONS: '--require /Users/you/.local/share/nvim/lazy/vscode-js-debug/out/src/bootloader.js', So if you start your node process with On the latest version if you remove |
This is awesome, going to test right now. |
I can't seem to connect the debug adapter to my local running node service. My config looks like:
However when I start my service manually and try to connect using that attatch_node configuration, I get this error from the debug-adapter
Which makes me think, the debug adapter is also trying to start it's own instance even though it should just be attaching to the already running instance. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: