how to totally ignore 'debugger' statement in chrome?

chen picture chen · Aug 19, 2017 · Viewed 11.6k times · Source

'never pause here' can not work

before

after I continue:

after

still paused

Answer

Iman Bahrampour picture Iman Bahrampour · Aug 19, 2017

For totally ignore all breakpoints in the chrome you must do as follows:

  1. Open the Chrome browser.

  2. Press F12(inspect) or Right-click on the chrome and select inspect

  3. In the source menu, press Ctrl+F8 to deactivate all breakpoints(alternative: at the top-right-corner select deactivate breakpoints)

All breakpoints and debugger statements will be deactivated.

I tested it in chrome 79 on Monday, 30 December 2019 and debugger ignored.

enter image description here