How to change it from 5858 to 7000, for example?
Open up Preferences > Settings and in the search box type in “node debug”. Under the Extensions tab there should be one extension titled “Node debug”. From here, click the first box: Debug > Node: Auto Attach and set the drop down to “on”. You're almost ready to go now.
You can use --debug
option:
node --debug=7000 app.js
You can use --inspect
option for latest node >= v8
node --inspect=7000 app.js
https://nodejs.org/en/docs/inspector/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With