3 ms·
Pro Tip: ‘debugger’ statements cannot be disabled at runtime In Chrome, you can just press the "Deactivate Breakpoints" button in the DevTools and `debugger` s
by timothya 14y ago
Pro Tip: ‘debugger’ statements cannot be disabled at runtime
In Chrome, you can just press the "Deactivate Breakpoints" button in the DevTools and `debugger` statements won't do anything anymore. Closing the DevTools also prevents `debugger` statements from breaking execution.
- hesselink 14y agoIn Firebug (Firefox) you can selectively disable 'debugger' statements. You can even disable them only if a condition is true.