Hello,
I'm debugging a Node.js application with Visual Studio Code.
After the update of Visual Studio Code, I'm getting the following error:
bad option: --inspect-brk=18155
And after a few seconds a dialog appears:

Node version: v6.11.3
Visual Studio Code version: 1.23.1
Platform: Windows 10 64bit
I tried to set in my launch configuration "protocol":"legacy" but in this way sometimes the debugger gets stuck giving this error: Node.js request 'continue' failed (reason: annullato perch茅 Node.js non risponde).
Could you please help me?
Thanks in advance.
Upgrade to the latest v6.x, v6.14.2, that version knows about the --inspect-brk flag.
Can you post questions to nodejs/help next time? Cheers.
You can add "protocol": "legacy" to configurations for your launch.sjon.
Most helpful comment
You can add
"protocol": "legacy"to configurations for your launch.sjon.