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.
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.