Reputation: 57
I just installed Node 8.1.3, and upgraded intellij to latest 2017.1.5 ultimate edition. trying out the nodejs remote debugger using the following command:
node --inspect-brk --harmony application.js
got the following output:
Debugger listening on ws://127.0.0.1:9229/4b404a2a-5d16-4a0a-ba64-b1e2b6504fcf
For help see https://nodejs.org/en/docs/inspector
Setup the intellij remote debugger with localhost 127.0.0.1 and port 9229, but connection didn't seem to be established. i see there is a token like value after the link from the output, was wondering if i need to add that value in intellij nodejs remote debugger setting somewhere?
Any suggestions or help are greatly appreciated. Thank you in advance.
Upvotes: 0
Views: 451
Reputation: 93738
Known issue, WEB-27559 is fixed in 2017.2
Please note that Node.js Remote Run configuration can only be used when debugging with TCP-based Protocol (Node.js < 7.x).
To remotely debug application with Chrome Debugging Protocol (with --inspect
/--inspect-brk
), you need using Chromium Remote Run configuration.
See https://www.jetbrains.com/help/webstorm/2017.3/running-and-debugging-node-js.html#remote_debugging
Upvotes: 1