title: View DOM level 2 Event handlers in IE
body: <p>Is there any way to view <a href="https://en.wikipedia.org/wiki/DOM_events#DOM_Level_2" rel="nofollow noreferrer">DOM level 2</a> event listeners added to a DOM element in IE 9+?</p>
  
  <p>In Chrome, we can see attached events from console using <a href="https://developers.google.com/web/tools/chrome-devtools/console/command-line-reference?utm_source=dcc&amp;utm_medium=redirect&amp;utm_campaign=2016q3#geteventlistenersobject" rel="nofollow noreferrer">getEventListeners(object)</a>.</p>
  
  <p>I tried <a href="http://www.sprymedia.co.uk/article/Visual+Event+2" rel="nofollow noreferrer">Visual Events</a>, but it only displays DOM level 0 events.</p>
  
  <p>In case if you are wondering, I need to list the attached event handlers to window unload event and debug which events are fired to find out which one is causing an exception/preventing propagation. The unload event handler is getting dispatched properly in Chrome.</p>