Gaia/Hacking: Difference between revisions

Point to copy-pastable prefs file that sets many debugging prefs, on this same page
(remove probably unnecessary prefs)
(Point to copy-pastable prefs file that sets many debugging prefs, on this same page)
Line 279: Line 279:
  user_pref(my.pref.name, true);
  user_pref(my.pref.name, true);


First go to {{MDN|Setting_up_extension_development_environment#Development_preferences|MDC development preferences}} and set up the preferences declared there.
Further up this page, in the section https://wiki.mozilla.org/Gaia/Hacking#Add_user.js_to_profile there is a user.js file which will set many useful debugging preferences. Many of these are from here: {{MDN|Setting_up_extension_development_environment#Development_preferences|MDC development preferences}}.


If you want to disable the offline cache use:
If you want to disable the offline cache use: