Debugger brakes rapidly on app load
See original GitHub issueDescribe the bug I installed the latest version of vscode today (with the new debugger) and since then every time I run the app the debugger brakes and continues rapidly until the app loads (see attached gif).
(lunching the app from chrome directly will not cause that issue)
About the setup: I am running Angular 8.2.3 with chrome dev tools open:
"name": "Chrome qdev",
"type": "chrome",
"request": "launch",
"port": 9876,
"url": "http://localhost.<URL>:4200",
"runtimeArgs": [
"--auto-open-devtools-for-tabs"
],
"sourceMaps": true,
"smartStep": true,
"skipFiles": [
"node_modules/*"
],
...
I also tried to see if adding remote-debugging-port=9876
makes any difference, and it didn’t.
Log File
I noticed there are a lot of calls to Debugger.resumed
in the log, but I am not sure what’s causing it and how to continue from here.
vscode-debugadapter-1.json.gz
VS Code Version: 1.47
Additional context OS: windows 10 I am using HMR but I also tried without it, go similar results.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:18 (8 by maintainers)
Top Results From Across the Web
asp.net mvc - Visual Studio debugging/loading very slow
I realized that remote debugging runs and consumes most of the resources. I did not really need to make the app 64 bit...
Read more >Heavy Angular app slows Debugger and Console load
Open Debugger on https://app.frontapp.com/signin; Wait for Sources to load; Switch to Console. AR: 500ms delay to load Console. https://perfht.ml/2D2zKz1.
Read more >Visual Studio - Break On All Exceptions - Christian Findlay
As a general rule, it is a good idea to always debug with break on all exceptions turned on. It means that if...
Read more >Java: slow performance or hangups when starting debugger ...
Debugger performance can be affected by the following: Method ... in my angular app and loading them into the IDE automatically ontop of...
Read more >Use breakpoints in the Visual Studio debugger - Microsoft Learn
Start debugging, and when execution pauses at the breakpoint, select Debug > Windows > Locals (or press Ctrl + Alt + V, L)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Because of this and probably some other changes, our application now takes TWO minutes to load with the vscode debugger on each refresh. The debugger was never any good but this is absolutely terrible for me. I’ll just use the built-in chrome/firefox debugger for now.
@KrakenZ thanks for the log! You’re running into https://github.com/microsoft/vscode-js-debug/issues/598 which is fixed in the latest nightly build.