Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome dev tools crashing when debugging JS

Been googling around a bit for the last week or two and haven't come up with any leads.

I believe this started ever since the latest major chrome web browser update, from 68 to 69. (currently on version 69.0.3497.100 )

Basically, when I'm using the chrome dev tools and debugging some javascript, the browser crashes when I begin typing a variable name into the console. I'll get a character or two in and then bam, the whole thing crashes.

dev tools crash warning

I'll close the browser, reopen it and still crashes immediately when typing in the console. Sometimes there are a few hours in between episodes, but this has been a persistent issue for too long and is severely impacting my ability as a developer.

Any help would be greatly appreciated. Thanks.

like image 434
Josh Leslie Avatar asked Sep 27 '18 18:09

Josh Leslie


People also ask

How do I debug JavaScript errors in Chrome?

In Chrome, navigate to Tools > Advanced > Error Console. The error console will open. Select JavaScript and Errors from the two drop downs. To find the error location, expand one of the errors.

Can you debug Node JS application in Chrome DevTools How?

Using Google Chrome DevTools to Debug To start debugging, let's run our application with the --inspect-brk flag. The next step is to head to Chrome, open a new tab, and enter the URL chrome://inspect/ . Click on “Open dedicated DevTools for Node” to start debugging the application.

How do I run JavaScript in Chrome DevTools?

Open Chrome, press Ctrl+Shift+j and it opens the JavaScript console where you can write and test your code.


1 Answers

As pointed out on this Reddit post: Google Chrome 69 Issues, that particular version was riddled with bugs. One website, quoting here from the same reddit thread, titled their article as "Atrocious performance - Google Chrome 69".

While this is not a solution, the easiest thing you can do is update to the latest version. (70.0.3538.77, at the time of writing.)

like image 72
code Avatar answered Oct 03 '22 00:10

code