Re:Using 'debugger' to help in javascript debugging
by timothya on Monday February 18, 2013 @03:25PM
(#5240402)
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.
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.