3 ms·
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
by lexicality 3y 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.
- themoonisachees 3y agoThis 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.
- lexicality 3y agoThe 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
- gear54rus 3y agoTFA has instructions on adding conditional breakpoint with 'false' inside. Wouldn't this work?
- sroussey 3y agoYes, this will work. Sometimes you do it to yourself and you want to ignore the line.
- deleted 3y ago[deleted]