DevTools/Hacking: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:
Once you have built Firefox, you can run it with
Once you have built Firefox, you can run it with
    
    
   $ ./mach run -p development
   $ ./mach run -P development


What is the <code>-p development</code>?  It is a flag telling Firefox to use a different [https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data profile], named "development" (this name can be anything you want).  If it does not exist the first time you run it, Firefox will open a popup and you can create a new profile with the name you passed in.  This will prevent you from seeing an error message telling you that you need to close your main browser window, and it will let you make settings changes without worrying about messing up your normal profile.
What is the <code>-P development</code>?  It is a flag telling Firefox to use a different [https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data profile], named "development" (this name can be anything you want).  If it does not exist the first time you run it, Firefox will open a popup and you can create a new profile with the name you passed in.  This will prevent you from seeing an error message telling you that you need to close your main browser window, and it will let you make settings changes without worrying about messing up your normal profile.


Once this command runs, you should see a new Firefox window, called "Nightly".  You will want to make a couple of quick changes to the profile.
Once this command runs, you should see a new Firefox window, called "Nightly".  You will want to make a couple of quick changes to the profile.
Confirmed users
125

edits

Navigation menu