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