Created
April 11, 2014 15:54
-
-
Save jaredhirsch/10479672 to your computer and use it in GitHub Desktop.
My gaia custom-prefs file (build/config/custom-prefs.js)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // FxA-related prefs from sam | |
| user_pref("dom.identity.enabled", true); | |
| user_pref("toolkit.identity.debug", true); | |
| user_pref("dom.inter-app-communication-api.enabled", true); | |
| user_pref("dom.identity.syntheticEventsOk", true); | |
| // enable debugging of certified/system apps | |
| user_pref("devtools.debugger.forbid-certified-apps", false); | |
| // some other prefs copied from | |
| // https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Build_System_Primer#Customizing_the_preferences | |
| // this enables marionette which lets you run performance tests | |
| // see https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/Gaia_performance_tests | |
| user_pref("marionette.defaultPrefs.enabled", true); | |
| // this sets the port for remote debugging your application on the device | |
| user_pref("devtools.debugger.remote-port", 60000); | |
| // this enables the remote debugger | |
| user_pref("devtools.debugger.remote-enabled", true); | |
| // this outputs debug information about the Radio Interface Layer in logcat | |
| user_pref("ril.debugging.enabled", true); |
I've got an etherpad with some Gaia getting-started tips at https://id.etherpad.mozilla.org/intro-to-gaia-20140303
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use
DEVICE_DEBUG=1when youmake, then you don't need any of the prefs except for the FxA-related prefs on lines 2-5. (I'm not sure if the FxA-related prefs are still needed or not.)