{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"runtimeExecutable": "nodemon",
"console": "integratedTerminal",
"name": "Launch Program",
"program": "${workspaceFolder}/app.js",
"skipFiles": [
"${workspaceFolder}/node_modules/**/*.js",
"<node_internals>/**/*.js"
]
}
]
}
相同的os版本(win10 1803),相同的VSCode版本(1.31),相同的launch.json从github复制相同的仓库(使用node.js构建),当PC1正常时,它从node.exe输出调试信息调试控制台,但是PC2,它只是在Ternimal选项卡中显示命令,然后打开一个运行node.exe的外部窗口,编辑器中没有调试栏,只有双击Ctrl-C才能停止调试会话。
the popup node window instead of displaying in the debug console