Can’t make the #ChromeDevSummit this year? Catch all the content (and more!) on the livestream, or join your peers for a CDS Extended event at a hosted location nearby. To learn more, check out the Chrome Dev Summit 2019 website.

Automatically pause on any exception

Automatically pause on any exception

In DevTools, you can automatically pause on any exception (especially useful for uncaught exceptions). Just enable 'Pause on exceptions' within the Sources Panel. Optionally, you can also pause on caught exceptions.

This means the debugger will pause before that red message appears in the Console and you get a chance to inspect what may have gone wrong.