Firefox - Disable 'debugger' keywords

user201202 picture user201202 · Sep 29, 2016 · Viewed 9.9k times · Source

How do I tell Firefox not to stop if it sees a debugger keyword?

I need to avoid a continuous debugger loop in case the website uses debugging protection generating debugger statements on the fly using timers.

Here is an example. In case you open the debugging console the script will throw tons of debugger statements, which will block you from normal debugging work.

An example website is http://www.avito.ru - the biggest classified site in Russia. Open it and then open the debugger console and it will be immediately stop at the debugger keyword in generated script.

Answer

Sam Sirry picture Sam Sirry · Nov 25, 2018

In the current version of Firefox at writing this answer (ver 63.0.3), in the Developer Tools, the Debugger section, there's an icon with the tooltip "Skip all pausing" or "Deactivate breakpoints". When enabled it seems to disable stopping at any debugger instruction.

Skip all pausing FireFox 63.0.3 Deactivae Breakpoints on FireFox 71.0b9