Skip to content
Advertisement

how to totally ignore ‘debugger’ statement in chrome?

‘never pause here’ can not work

before

after I continue:

after

still paused

Advertisement

Answer

To totally ignore all breakpoints in Chrome, you must do as follows:

  1. Open your page in the Chrome browser.

  2. Press F12 or right-click on the page and select Inspect.

  3. In the Source panel, press Ctrl+F8 to deactivate all breakpoints. (or: At the top-right corner, select deactivate breakpoints.)

All breakpoints and debugger statements will be deactivated.

I tested it in Chrome 79.0.3945.88 (64-bit) and I found that the debugger statement is ignored.

Screenshot showing the effect of deactivated breakpoints on debugger statements

User contributions licensed under: CC BY-SA
13 People found this is helpful
Advertisement