Skip to content

Commit

Permalink
Disable automatic execution pause on script exceptions (#233)
Browse files Browse the repository at this point in the history
When the "DevTools" are opened and an exceptions occurs in any running
script, the debugger will be opened and the execution paused.
This is kind of annoying for third-party scripts or when the actual goal
is not to debug scripts at all and has therefore been disabled.

Closes GH-221
  • Loading branch information
arcticicestudio authored Mar 24, 2020
1 parent 3f92ab9 commit 7e0d317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snowblocks/firefox/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ user_pref("devtools.command-button-responsive.enabled", true);
user_pref("devtools.command-button-rulers.enabled", true);
user_pref("devtools.command-button-screenshot.enabled", true);
user_pref("devtools.debugger.ignore-caught-exceptions", true);
user_pref("devtools.debugger.pause-on-exceptions", true);
/* Prevent automatic execution pause when opening DevTools on any site that contains erroneous scripts. */
user_pref("devtools.debugger.pause-on-exceptions", false);
user_pref("devtools.defaultColorUnit", "authored");
user_pref("devtools.editor.autoclosebrackets", true);
user_pref("devtools.editor.detectindentation", true);
Expand Down

0 comments on commit 7e0d317

Please sign in to comment.