Ask HN: How do you deal with “slipping breakpoints” in JavaScript debuggers?
This has been annoying me ever since I started working as a JS dev.<p>Say you have a 100 line file, you put breakpoint in L80 in Chrome devtools. Then you add a line at the beginning, and L80 becomes L81. The breakpoint I just put a minute ago can fall on an empty line and never execute.<p>I know about `debugger` which is quite handy sometimes, but it&#x27;s not very feasible to pollute whole codebase with it during debugging session.<p>Any other options?