gpt4 book ai didi

angular - 无法连接到运行时进程,10000 毫秒后超时 - (原因 : Cannot connect to the target: connect ECONNREFUSED 127. 0.0.1:9229)

转载 作者:行者123 更新时间:2023-12-02 18:36:15 24 4
gpt4 key购买 nike

我正在尝试设置 VSCode 来调试 npm 脚本。

{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch via NPM",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "test"],
"port": 9229
}
]
}

但我收到此错误:

Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:9229).

最佳答案

2.0.1-beta.31 中存在节点功能的已知错误。请尝试将 "NODE_OPTIONS": "--inspect=5858" 添加到您的 local.settings.json 文件中作为解决方法。

关于angular - 无法连接到运行时进程,10000 毫秒后超时 - (原因 : Cannot connect to the target: connect ECONNREFUSED 127. 0.0.1:9229),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54296857/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com