调试npm run start
- 内容
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "启动程序",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "npm",
"runtimeArgs": ["run","start"],
"autoAttachChildProcesses": true,
"stopOnEntry": false
}
]
}
-
放置于项目根路径
网友评论