Help us make DevTools Tips better! Fill out this survey to tell us more about your DevTools habits and frustrations.
Event listeners are suppressed when paused
For example, if you have a button with an
onclick handler, and you're paused at a breakpoint, then clicking that button won't execute the handler. It also won't execute it later when you resume execution.
In fact, most DevTools display an overlay on top of the entire page that prevents you from accessing it at all.
This also happens if you manually try to dispatch new events from the console using
dispatchEvent. If there are handlers for these events, they also won't get called while execution is paused.