Open sajshuai opened 5 years ago
之前没开发过js,想用vscode进行调试,但是启动了之后一直报错。 Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:9229).
这是我的launch.json文件 { "version": "0.2.0", "configurations": [ { "name": "Launch via NPM", "type": "node", "request": "launch", "cwd": "${workspaceFolder}", "runtimeExecutable": "npm", "runtimeArgs": [ "run", "dev" ], "port": 9229 }
]
}
之前没开发过js,想用vscode进行调试,但是启动了之后一直报错。 Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:9229).
这是我的launch.json文件 { "version": "0.2.0", "configurations": [ { "name": "Launch via NPM", "type": "node", "request": "launch", "cwd": "${workspaceFolder}", "runtimeExecutable": "npm", "runtimeArgs": [ "run", "dev" ], "port": 9229 }
}