Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You'll want to locate your <a href="http://support.mozilla.com/en-us/kb/Profiles#How_to_find_your_profile" rel="noreferrer">profile folder</a>. Once you find it, go into the folder called 'extensions', and then locate the folder for the add-on you are working on. Replace that folder with a file of the same name (minus <code>.xpi</code> if that's part of the name), and inside the file place the full path to your source directory of the add-on. </p> <p>In Linux and Mac, that'll look like:</p> <pre><code>/full/path/to/yourExtension/ </code></pre> <p>And on Windows:</p> <pre><code>C:\full\path\to\yourExtension\ </code></pre> <p>Remember the trailing slash and beware of extra whitespace.</p> <p>As long as you don't use jar files inside your add-on, you will no longer have to rebuild (<a href="https://developer.mozilla.org/en/Setting_up_extension_development_environment#Firefox_extension_proxy_file" rel="noreferrer">this is covered in a bit more depth here</a>).</p> <p>Additionally, you'll want to set <a href="http://kb.mozillazine.org/Nglayout.debug.disable_xul_cache" rel="noreferrer"><code>nglayout.debug.disable_xul_cache</code></a> to true. For edits to xul or js files, you'll just have to open up a new window to see your changes instead of restarting the application. There are <a href="https://developer.mozilla.org/en/Setting_up_extension_development_environment#Development_preferences" rel="noreferrer">other preferences here</a> that you may find useful as well.</p> <p><em>Extra tips:</em></p> <ul> <li><p>Starting firefox with a certain profile (dev), while other firefox profile is open and with the debugger already on:</p> <p>"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -no-remote -P dev -jsconsole</p></li> <li><p>Check out the <a href="https://addons.mozilla.org/en-US/firefox/addon/re-start/?src=search" rel="noreferrer">restart addon</a> (saves time).</p></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload