Last Updated: February 25, 2016
·
2.297K
· sheerun

Break only on uncatched JavaScript exceptions

Picture

An useful Chrome Web Developer Tools feature is breaking execution when an uncatched exception is thrown.

I enable it at all times.

To do it, just click two times on pause button (the 4'th from the left).

2 Responses
Add your response

Chrome has all these hidden gems I had no idea about.

over 1 year ago ·

Well, the fact that this button is tri-state and there is an intermediate variant between 'break always' and 'break never' was highly unobvious for me for the first time :) ('Break always' seems to become totally unusable with jQuery due to lots of false pausings)

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside