From 0713a4dd32d9fa8dc7402e1c27b5278b1459ef6d Mon Sep 17 00:00:00 2001 From: Panos Astithas Date: Tue, 3 Jul 2012 12:32:36 +0300 Subject: [PATCH] Bug 769574 - Update the settings file with the new debugger preferences; r=vingtetun --- b2g/chrome/content/settings.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/b2g/chrome/content/settings.js b/b2g/chrome/content/settings.js index 5b58fc014f5e..82904d0cd4fe 100644 --- a/b2g/chrome/content/settings.js +++ b/b2g/chrome/content/settings.js @@ -79,15 +79,18 @@ SettingsListener.observe('language.current', 'en-US', function(value) { // =================== Debugger ==================== -SettingsListener.observe('devtools.debugger.enabled', false, function(enabled) { - Services.prefs.setBoolPref('devtools.debugger.enabled', value); +SettingsListener.observe('devtools.debugger.remote-enabled', false, function(enabled) { + Services.prefs.setBoolPref('devtools.debugger.remote-enabled', value); }); SettingsListener.observe('devtools.debugger.log', false, function(value) { Services.prefs.setBoolPref('devtools.debugger.log', value); }); -SettingsListener.observe('devtools.debugger.port', 6000, function(value) { - Services.prefs.setIntPref('devtools.debugger.port', value); +SettingsListener.observe('devtools.debugger.remote-port', 6000, function(value) { + Services.prefs.setIntPref('devtools.debugger.remote-port', value); }); +SettingsListener.observe('devtools.debugger.force-local', true, function(value) { + Services.prefs.setBoolPref('devtools.debugger.force-local', value); +});