Get and debug event listeners

Umar Hansa
Umar Hansa

Get and debug event listeners

You can use getEventListeners(node) in the Console Panel to retrieve registered event listeners on the passed in DOM node. In addition to that, the video clip shows debug(fn)invoking the debugger when fn is called.