使用Visual Studio代碼版本1.13.0,開始了一個節點調試test2.js時,該節點是0.12版本以下的配置,我可以調試和vscode反應是:使用visual studio代碼調試節點8?
Debugging with legacy protocol because it was detected.
但當節點發出V8.0和'節點調試test2.js',調試VSCODE得到:
Debugging with legacy protocol because Node.js version could not be determined (Error: read ECONNRESET)
任何想法爲什麼?我使用「連接」的配置如下:
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach",
"port": 5858
}
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}"
}
]
使用此工程:節點--inspect-brk = 172.17.0.2:5858 test2.js – AngeloC
我解決了升級到最新的VScode版本... https://code.visualstudio.com /下載 – MTZ4