Hacker News new | ask | show | jobs
by lexicality 951 days ago
Why would this be a problem? I have a debugger. If you conveniently invoke it for me I can simply delete the offending code.

Also both Chrome and Firefox have a "disable breakpoints" button that would instantly defeat this issue.

1 comments

This button was added to specifically combat that, and even then it means you can't use breakpoints at all. IMO the missing link is a way to specifically ignore a single debugger call.
TFA has instructions on adding conditional breakpoint with 'false' inside. Wouldn't this work?
Yes, this will work. Sometimes you do it to yourself and you want to ignore the line.
The debugger lets you edit the code in the VM, so if there's a debugger call you don't want you can simply delete it and continue and it'll not show up again until you refresh