Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Break on a DOM event

If you're listening to a particular DOM event, you can tell the debugger to break when the event is triggered without having to track down the listener and set a breakpoint manually.

First, open the events pane by clicking the button in the toolbar that opens the shared variables/events pane. Then click the tab labeled "Events". The events pane will list all events for which you have assigned a listener:

Then check the box next to the event you want to break at.

When the event is triggered the code will break at the start of your listener.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,