Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: Local Attach fails to debug with an error 10054 [1680]

$
0
0
Tried to do local attach using Visual Studio community edition, ran into Error 10054 and not able to debug the process.

Steps:

Started the node(v0.10.33) using:
node.exe --debug-brk=5859 server.js
the cmd window displayed:
debugger listening on port 5859

then went to visual studio, - clicked on the menu - Debug | Attach to process ... - selected NodeJS remote debugging transport with Qualifier as localhost:5859, and then clicked refresh and immediately got an error at the cmd window:
Error 10054

and immediately even before I try to click attach ...the code runs to the end of the program and after that if I click attach, visual studio does not show any thread at running state for this new process.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>