microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.21k stars 29.29k forks source link

调试适配器进程已意外终止 #45496

Closed tangchi695 closed 6 years ago

tangchi695 commented 6 years ago

Issue Type: Bug

不能调试nodejs程序,F5提示调试适配器进程已意外终止。

VS Code version: Code 1.21.0 (9a199d77c82fcb82f39c68bb33c614af01c111ba, 2018-03-07T11:04:09.969Z) OS version: Windows_NT x64 10.0.16299

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 x 3592)| |Memory (System)|15.93GB (9.80GB free)| |Process Argv|C:\Program Files\Microsoft VS Code\Code.exe| |Screen Reader|no| |VM|67%|
Extensions: none Reproduces without extensions
ghost commented 6 years ago

@Microsoft: Translated into English is: Cannot debug Nodjs, "F5" shows that the debug adapter process crashed by accident. The title is: Debug Adapter Process crashed by accident.

@tangchi695 : Would you mind making a record video and submit here for Microsoft members to make an analyse? And for the next time, please put down your ideas in English ;)

And if possible, please "step-by-step" to describe how we can re-create the senario like this sample (https://github.com/Microsoft/vscode/issues/43198).

You can use something like: https://obsproject.com/, A free video maker.

weinand commented 6 years ago

What debugger are you using?

tangchi695 commented 6 years ago

ms-vscode.node-debug2

weinand commented 6 years ago

What version of node are you using? What is your launch config? What kind of node program are you debugging? Please open the Developer Tools ("Toggle Developer Tools") after the crash and post a screenshot of the output here.

tangchi695 commented 6 years ago

node v8.9.4

launch config {
    // 使用 IntelliSense 了解相关属性。 
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "启动程序",
            "program": "${workspaceFolder}/HelloWorld.js"
        }
    ]
}

console.log("hello world");

qq 20180312161051

roblourens commented 6 years ago

Does this happen every time? Are there any errors in the Debug Console?

tangchi695 commented 6 years ago

@roblourens Yes, it happens every time I use it. ESLint error: The ESLint server crashed 5 times in the last 3 minutes. The server will not be restarted.

qinyaoTAT commented 6 years ago

I Hava the same issue...

qinyaoTAT commented 6 years ago

image

B-Xi commented 6 years ago

I met the same issue when I run the python code , how did you solve this problem? Thank you.

qinyaoTAT commented 6 years ago

i do not know how to handle it. reinstall is no use. later i used sublime3 . now i use a new PC. it can work.

At 2018-03-25 11:44:23, "Anysomeday" notifications@github.com wrote:

I met the same issue when I run the python code , how did you solve this problem? Thank you.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

org0000h commented 6 years ago

same problem

MadSummer commented 6 years ago

Maybe some extension problems. I uninstall to solve this problem. if can't uninstall,go to <<C:\Users\YOU PC ACCOUNT.vscode\extensions>> ,find the node-debug2 folder and remove it

tangchi695 commented 6 years ago

今天更新到1.22.1版本 ,这个问题就解决了,可以调试node了。