microsoft / vscode-chrome-debug-core

A library for implementing VS Code debug adapters for targets that implement the Chrome Debugging Protocol.
Other
157 stars 119 forks source link

Chrome debugger crashes immediately #539

Closed dvasilakis81 closed 5 years ago

dvasilakis81 commented 5 years ago

The problem

I have created a react project. Until next week i was able to debug with chrome but suddenly the chrome debugger cannot start. The debugger tool appears for a while and then close. The output windows shows the below message: [2019-11-11 11:54:41.441] [renderer5] [error] timeout after 500 ms: Error: timeout after 500 ms at t.RawDebugSession.handleErrorResponse (file:///C:/Users/moauser/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2798:1003) at file:///C:/Users/moauser/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2798:434 at async t.RawDebugSession.shutdown (file:///C:/Users/moauser/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2796:536)

I have reinstalled debugger for chrome but the problem remains.

dvasilakis81 commented 5 years ago

I noticed that In my pc there was installed x86 chrome version. So i installed x64 version and vscode opens the x64 chrome version when debugging and it works fine!!!

roblourens commented 5 years ago

Interesting. I'm not sure why that would be but I'm glad you found it