Bug 1592720 - Enable WatchPoints in all channels r=jlast
authorJan Odvarko <odvarko@gmail.com>
Thu, 12 Dec 2019 17:13:45 +0000
changeset 506833 d83253521421ba6708d01f3b931fb54685831ab6
parent 506832 9c20bf9c2837738f95d292fae237690086af84a0
child 506834 99f723c1bd74b33395fcc6f7ad2c8863413aa100
push id36913
push useropoprus@mozilla.com
push dateFri, 13 Dec 2019 16:53:24 +0000
treeherdermozilla-central@1ed684598bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast
bugs1592720
milestone73.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1592720 - Enable WatchPoints in all channels r=jlast Differential Revision: https://phabricator.services.mozilla.com/D56882
devtools/client/debugger/src/utils/prefs.js
modules/libpref/init/all.js
--- a/devtools/client/debugger/src/utils/prefs.js
+++ b/devtools/client/debugger/src/utils/prefs.js
@@ -68,17 +68,17 @@ if (isDevelopment()) {
   pref("devtools.debugger.features.map-await-expression", true);
   pref("devtools.debugger.features.xhr-breakpoints", true);
   pref("devtools.debugger.features.original-blackbox", true);
   pref("devtools.debugger.features.event-listeners-breakpoints", true);
   pref("devtools.debugger.features.dom-mutation-breakpoints", true);
   pref("devtools.debugger.features.log-points", true);
   pref("devtools.debugger.features.inline-preview", true);
   pref("devtools.debugger.features.overlay-step-buttons", true);
-  pref("devtools.debugger.features.watchpoints", false);
+  pref("devtools.debugger.features.watchpoints", true);
 }
 
 export const prefs = new PrefsHelper("devtools", {
   fission: ["Bool", "browsertoolbox.fission"],
   logging: ["Bool", "debugger.logging"],
   editorWrapping: ["Bool", "debugger.ui.editor-wrapping"],
   alphabetizeOutline: ["Bool", "debugger.alphabetize-outline"],
   autoPrettyPrint: ["Bool", "debugger.auto-pretty-print"],
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4924,21 +4924,17 @@ pref("devtools.errorconsole.deprecation_
   // Disable remote debugging connections.
   pref("devtools.debugger.remote-enabled", false, sticky);
 #else
   // In local builds, enable the browser toolbox by default.
   pref("devtools.chrome.enabled", true, sticky);
   pref("devtools.debugger.remote-enabled", true, sticky);
 #endif
 
-#if defined(MOZ_DEV_EDITION) || defined(NIGHTLY_BUILD)
-  pref("devtools.debugger.features.watchpoints", true);
-#else
-  pref("devtools.debugger.features.watchpoints", false);
-#endif
+pref("devtools.debugger.features.watchpoints", true);
 
 // Disable remote debugging protocol logging.
 pref("devtools.debugger.log", false);
 pref("devtools.debugger.log.verbose", false);
 
 pref("devtools.debugger.remote-port", 6000);
 pref("devtools.debugger.remote-websocket", false);
 // Force debugger server binding on the loopback interface.