v4.12.9 - Debugger for Chrome extension with angular9 lunching the page very slowly
See original GitHub issueVS Code Version: 1.46.1+ Angular 9.1.12
If you go to the previous version, it working fine.
My assume is that you’ve remove the type:“chrome” option from launch.json And the use of type: “pwa-chrome” is not working as expected.
Any code recompile cause the slowness reload.
Please fix it ASAP.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Angular 2 Application reacting very slowly only while Chrome ...
Maddeningly, when I run the DevTools' Timeline "Record" to try to gain visibility into the issue, the issue disappears and the page reacts...
Read more >DevTools Overview - Angular
Angular DevTools is a browser extension that provides debugging and profiling capabilities for Angular applications. Angular DevTools supports Angular v12 ...
Read more >Case Study: Better Angular Debugging with DevTools
Using Angular as a test pilot, the Chrome DevTools and Angular teams collaborated to offer you a better debugging experience.
Read more >Microsoft - Bountysource
Recently I upgraded Chrome Debugger from v4.12.9 to v4.12.10, upgraded VS Code to the latest 1.48.2. When I hit F5 for debugging, it...
Read more >This page is not using Angular, or it has a strict extension policy.
On installing the extension in chrome where a tab had already loaded the angular page then selecting the angular tab I was seeing...
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
@connor4312 - Alright, so after some more trial and error:
As you’ve stated, the slow performance of Angular apps using js-debug (via
pwa-chrome
launch config type) is fixed in the nightly build version - thanks!The breakpoints not working seems to be differences in how js-debug and the “legacy” debugger-for-chrome work. For my VS Code Remote SSH development, I needed to specify my
webRoot
as where my main app was in my Angular project, and the following had to be added to my custom sourcemaps to get breakpoints working:Now if I change my
webRoot
to just/
and don’t override sourcemaps, things work. Now I’m wondering if the project will still work if I use a normal local setup, like native Windows dev. I’ll try that out later…Finally, something definitely changed in how the debug-for-chrome extension treats its default debugging “engine” -
4.12.8
seems to use the legacy debugger, and4.12.9
seems to use js-debug, even though the CHANGELOG says it defaulted to js-debug viadebug.javascript.usePreview
back in4.12.7
. So4.12.8
seems to be the outlier/bug, but was just confusing at first 😅@roblourens , @connor4312 - Anyway, for this particular issue, I would vote to close it since it’s caused by js-debug, and has already been fixed in nightly.
Thanks @connor4312 - saw the note above but I don’t think I was realizing the connection between vscode-js-debug and this extension! I’ll try this out and update here.
I guess the latest version of the Chrome Debugger (
4.12.9
) is defaulting to use this new debugging backend…differently than4.12.8
? I’ll have to look again so I can get this straight in my head…