- Press F12 to open Dev Tools
- Click the Sources tab
- On right-hand side, scroll down to "Event Listener Breakpoints", and expand tree
- Click on the events you want to listen for.
- Interact with the target element, if they fire you will get a break point in the debugger
Similarly, you can right click on the target element -> select "inspect element" Scroll down on the right side of the dev frame, at the bottom is 'event listeners'. Expand the tree to see what events are attached to the element. Not sure if this works for events that are handled through bubbling (I'm guessing not)
Posted On: 16-Dec-2017 02:10