From decdfa79d9a6aa92b307d7996c15c46d0af669ae Mon Sep 17 00:00:00 2001 From: Jason Laster Date: Tue, 5 Nov 2019 16:38:01 +0000 Subject: [PATCH] Bug 1592718 - Enable WatchPoints in Nightly and DevEdition. r=davidwalsh Differential Revision: https://phabricator.services.mozilla.com/D51742 --HG-- extra : moz-landing-system : lando --- devtools/client/preferences/debugger.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devtools/client/preferences/debugger.js b/devtools/client/preferences/debugger.js index 4662f105953b..518ad1c71dcb 100644 --- a/devtools/client/preferences/debugger.js +++ b/devtools/client/preferences/debugger.js @@ -85,4 +85,9 @@ pref("devtools.debugger.features.dom-mutation-breakpoints", true); pref("devtools.debugger.features.log-points", true); pref("devtools.debugger.features.overlay", true); pref("devtools.debugger.features.inline-preview", true); -pref("devtools.debugger.features.watchpoints", false); + +#if defined(MOZ_DEV_EDITION) || defined(NIGHTLY_BUILD) + pref("devtools.debugger.features.watchpoints", true); +#else + pref("devtools.debugger.features.watchpoints", false); +#endif