question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debugger brakes rapidly on app load

See original GitHub issue

Describe 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.

vs-bug

Thanks!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:11
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
KrakenZcommented, Jul 15, 2020

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.

2reactions
connor4312commented, Jul 15, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found