nodejs vscode debug
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "启动程序",
"runtimeExecutable": "nodemon",
"restart": true,
"console": "integratedTerminal",// 外部、集成、调试控制台
"internalConsoleOptions": "neverOpen",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/index.js",
"stopOnEntry": true,
}
]
}