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.

Running angular application in VS Code debugger causes chrome to crash

See original GitHub issue

Describe the bug

Currently developing angular applications in VSCode. Working great for long time. On 8/27 or 8/28 - 2 of the more complex applications starting crashing.

I have a simpler application that still worked fine.

The more complex ones would start loading ok, successfully process several pages of code to authenticate and login, then when redirecting to another module, everything would just close down. Chrome would close, the application would stop running in the debugger. No errors or messages.

The application would work just fine if I ran using just Chrome and the angular development server, taking VS code out of the loop.

In VS Code, I set “debug.javascript.usePreview” to false and everything started to work as normal again.

I’m attaching the log file you requested. vscode-debugadapter-14.json.gz

I’m also happy to help with any issues you might have to reproduce this error. My company depends on VSCode and Angular and the great tools you are making.

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Log File

VS Code Version: Replace me!

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
askerbcommented, Sep 1, 2020

Update: “debug.javascript.usePreview”: false and the problem goes away for me.

0reactions
connor4312commented, Oct 7, 2020

Chrome 86 where this should be fixed was released yesterday; update your browser and you should be good to go.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome Hangs when launching Angular App with VS Code
I have an Angular 7 CLI app that makes chrome hang when I try to debug it using Chrome(76) and VS Code(1.37).
Read more >
How to debug #Angular Code in VS Code Properly - YouTube
How to debug Angular Code in VS Code Properly. Business Email: owaesmirza@gmail.com Best Books ...
Read more >
Debugging Angular Apps through Visual Studio Code
Debugging Angular apps through VS Code is pretty easy. This guide embellishes the official guide with extra advice and warnings.
Read more >
Visual Studio Freezes in Debug with Chrome
Hi, I am occasionally experiencing visual studio freeze when I am in debug with chrome. It usually happens during first inilialization of the...
Read more >
The 16 JavaScript debugging tips you probably didn't know
After console.log, debugger is my favorite quick and dirty debugging tool. If you place a debugger; line in your code, Chrome will automatically...
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