【发布时间】:2019-06-15 05:59:39
【问题描述】:
我正在尝试设置 VSCode 来调试 npm 脚本。
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch via NPM",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "test"],
"port": 9229
}
]
}
但我收到此错误:
无法连接到运行时进程,10000 毫秒后超时 - (原因: 无法连接到目标:连接 ECONNREFUSED 127.0.0.1:9229)。
【问题讨论】:
标签: angular visual-studio-code vscode-debugger