Chrome JavaScript Debugging - how to save break points between page refresh or break via code?
问题 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)? 回答1: You can put