When using Chrome and it's JavaScript debugger, every time I reload my page / scripts, my breakpoints are lost and I have to go find the script file in the pop-up, find the line of code for my break point, click to add it, etc.
Is there a way to save these breakpoints so it breaks even after a page refresh (other debuggers I have used do this)?
Alternatively, is there a clean way in my JavaScript code I can type something to tell chrome to start tracing (to pause on a line)?
<script>
tags orXMLHttpRequest
+eval
to include your JS? With XHR+eval, you lose breakpoints. – J. K.