Node JS 7.3.0 and WebStorm 2016.3.2: IDE always debugs with "--inspect"

589 views Asked by At

Ever since upgrading to node v7.x, WebStorm always starts the debugger with the --inspect flag and there is no option to disable this in the run/debug configuration.

I want the same debugging experience as before (debugging within WebStorm) and not use the new DevTools wizardry.

How can I stop the --inspect flag from being added when the debugger starts? Or, alternatively, is there an undocumented override, like --inspect=false?

2

There are 2 answers

5
lena On BEST ANSWER

Unfortunately no:( it's a known issue, see WEB-24629. Hidden option for turning dev tools protocol support off (js.debugger.node.use.inspect=false) will be included in next 2016.3 update - see https://youtrack.jetbrains.com/issue/WEB-24629#comment=27-1809582.

For now the only workaround is downgrading Node.js to 6.x:( Full Node 7 support (using v8 inspector) will be available in 2017.1

0
Tom Dunstan On

Just to add to lena's post. I've found that the bug is in Webstorm 2016.3.2 so you only have to downgrade to Webstorm 2016.3.1 to get the functionality back with the latest Node 7.x