vscode 调试nodejs 调试不起来
按了F5之后 直接输出了最下面的信息 就结束了
我的launch配置是
`
"version": "0.2.0",
"configurations": [{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/build/webpack.dev.conf.js"
}]
`
vscode版本
版本 1.18.1
提交 929bacba01ef658b873545e26034d1a8067445e9
日期 2017-11-16T18:32:36.026Z
Shell 1.7.9
渲染器 58.0.3029.110
Node 7.9.0
架构 ia32
vscode输出信息
Debugging with inspector protocol because Node.js v8.9.0 was detected.
node --inspect-brk=44491 buildwebpack.dev.conf.js
Debugger listening on ws://127.0.0.1:44491/6106fe32-29c1-43e6-a966-ab0f6992084e
Debugger attached.
Waiting for the debugger to disconnect...
把program 换成"program": "${file}"
你那个配置总是运行....def.conf.js 文件,改成${file} 就是运行当前文件。