创建开发的profile:
Ubuntu:
引用
/usr/bin/firefox -no-remote -P dev
Linux其他发行版:
引用
/usr/local/bin/firefox -no-remote -P dev
Mac:
引用
/Applications/Firefox.app/Contents/MacOS/firefox-bin -no-remote -P dev &
On Windows:
引用
Start -> Run "%ProgramFiles%\Mozilla Firefox\firefox.exe" -no-remote -P dev
如果没有则根据wizard创建一个新的profile。
在地址栏输入about:config,配置一些开发环境的选项:
引用
javascript.options.showInConsole = true
nglayout.debug.disable_xul_cache = true
browser.dom.window.dump.enabled = true
javascript.options.strict = true
extensions.logging.enabled = true
dom.report_all_js_exceptions = true
firefox扩展开发工具:
- DOM Inspector , used to inspect and edit the live DOM of any web document or XUL application (Firefox and Thunderbird)
- Venkman , a JavaScript Debugger (Firefox version , Thunderbird version )
- Extension Developer's Extension a suite of tools for extension development (Firefox)
- Console2 enhanced JavaScript console (Firefox version , Thunderbird version )
- Chrome List navigate and view files in chrome:// (Firefox version , Thunderbird version )
- Chrome Edit Plus a user file editor (Firefox and Thunderbird)
- Extension Wizard a web-based application that generates an extension skeleton (Firefox and Thunderbird)
- Firebug a variety of development tools (Firefox)
- Chromebug combines elements of a JavaScript debugger and DOM (Firefox, "kinda works for Thunderbird")
- MozRepl explore and modify Firefox and other Mozilla apps while they run (Firefox and Thunderbird)
- ExecuteJS an enhanced JavaScript console (Firefox version , Thunderbird version )
- XPCOMViewer an XPCOM inspector (Firefox and Thunderbird)
- JavaScript shells to test snippets of JavaScript (Firefox and Thunderbird)
- SQLite Manager to manage the SQLite database (Firefox and Thunderbird)
- ViewAbout enables access to various about: dialogs from the View menu (Firefox version , Thunderbird version )
- Crash Me Now! useful for testing debug symbols and the crash reporting system (Firefox and Thunderbird)