title: How do I debug Javascript which was loaded via AJAX (specifically jQuery)
body: <p>I have changed my coding style with more complex projects to loading pages (And their embedded scripts) "on demand" recently. However, it is difficult to debug those scripts as when they are loaded like:</p>
  
  <pre><code>jQuery.get('/myModularPage', function(html){ /* insert the loaded page into the DOM */ });
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$('#some-container').load('/myOtherPage');
  </code></pre>
  
  <p>These scripts run perfectly, but if I'm debugging, how can I set breakpoints in these dynamically loaded pages and scripts?</p>