title: Debugging JavaScript events with Firebug
body: <p>I need to set a breakpoint to certain event, but I don't know, where is it defined, because I've got giant bunch of minimized JavaScript code, so I can't find it manually.</p>
  
  <p>Is it possible to somehow set a breakpoint to for example the click event of an element with ID <code>registerButton</code>, or find somewhere which function is bound to that event?</p>
  
  <p>I found the Firefox add-on <strong>Javascript Deobfuscator</strong>, which shows currently executed JavaScript, which is nice, but the code I need to debug is using <strong>jQuery</strong>, so there's loads of function calls even on the simplest event, so I can't use that either.</p>
  
  <p>Is there any debugger made especially for <strong>jQuery</strong>?</p>
  
  <p>Does anybody know some tool that turns <em>minified JavaScript</em> back into <em>formatted</em> code like turn <code>function(){alert("aaa");v=3;}</code> back into</p>
  
  <pre><code>function() {
     alert("aaa");
     v = 3;
  }
  </code></pre>