Article From:

vscode Debugging nodejs debug can’t be debugged
After F5, the output of the bottom information is finished.
My launch configuration is

"version": "0.2.0",
"configurations": [{
    "type": "node",
    "request": "launch",
    "name": "Launch Program",
    "program": "${workspaceFolder}/build/"

Version 1.18.1
Submit 929bacba01ef658b873545e26034d1a8067445e9
Date 2017-11-16T18:32:36.026Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture IA32
vscodeOutput information
Debugging with inspector protocol because Node.js v8.9.0 was detected.
node –inspect-brk=44491
Debugger listening on ws://
Debugger attached.
Waiting for the debugger to disconnect…

Answer 0:

Change program to “program”: “${file}”
Your configuration always runs….def.conf.js file, to ${file} is to run the current file.

Link of this Article: Vscode debug nodejs can’t run up

Leave a Reply

Your email address will not be published. Required fields are marked *