I spent hours debugging an issue that keydown event handler isn't triggered as expected. It turned out that the root cause is a focused HTMLElement is deleted and re-created. And in IE it seems the whole page lost focus when the focus element is deleted.
I had a hard time figuring out which element is handling the keyboard event, it will be much easier if there is a good tool to help. Is there an easy way to find out which HTML element is actually receiving the keyboard event?
I saw one of the answer here is detecting the event handler by injecting more javascript code, but is it possible to do this with tools directly supported by browser's debugger?