Chrome Dev Summit 2020 is back & going virtual on December 9-10. Learn more

Get and debug event listeners

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.