What's new in Aurora?
The current Firefox Aurora release is Firefox 26, and includes these updates to the developer tools:- pseudo elements are now visible in the Inspector's Rules view
- you can instruct the JavaScript Debugger to break on uncaught exceptions
- zoom in and out anywhere in the Developer Tools using Ctrl+ and Ctrl-
- improved keyboard shortcut support
- Responsive Design view now has touch event simulation and a "Take screenshot" button
You can use the developer tools to examine and edit HTML and CSS, to debug JavaScript, and to run JavaScript in the page. You can use them to see network requests that your browser makes as well as any JavaScript and CSS warnings and errors that it encounters when loading a page. You can use them to debug performance problems with your site.
You can use the developer tools to debug code running Firefox for Android, and soon, Firefox OS. We've also provided tools that target mobile development: the Responsive Design View is a quick way to see how a site will look on a small screen, and the Firefox OS Simulator lets you run and debug a Firefox OS app on the desktop without needing to use a real Firefox OS device.
Firefox add-ons can access the debugger API, so you can build your own developer tools that extend and enhance the built-in tools. With the remote debugging protocol you can implement your own debugging clients and servers, enabling you to debug websites using your own tools or to debug different targets using the Firefox tools.
Toolbox
The Toolbox provides a single home for most of the developer tools that are built into Firefox.
- Page Inspector
- View and modify the HTML and CSS for the selected element.
- Web Console
- See informational, warning and error messages emitted by the browser loading a web page, and examine and manipulate the page using JavaScript.
- Style Editor
- View and edit CSS styles for the current page.
- JavaScript Debugger
- Step through JavaScript code that is running in the browser and watch variables to help track down bugs.
- JavaScript Profiler
- Use the profiler to figure out where your JavaScript code is spending its time.
- Network Monitor
- Inspect all the network requests that are made when a page is loaded, and how long they take to execute.
Mobile
Of course, mobile web developers are web developers too, so most of the web development tools will be interesting to mobile web developers as well. But we've also created some tools specifically aimed at mobile development.
- Remote Debugging
- Use the developer tools to debug your Android device over USB.
- Firefox OS Simulator
- Run and debug your Firefox OS app on the desktop, without needing to use a real Firefox OS device.
- Responsive Design View
- See how your website or app will look on different screen sizes without changing the size of your browser window.
Standalone Tools
These tools ship inside Firefox as well, but their user interfaces aren't integrated into the Toolbox.
- Scratchpad
- A text editor built into Firefox that lets you write and execute JavaScript.
- Browser Console
- See messages from all JavaScript code running in the browser including content, chrome, and add-ons. Execute JavaScript code in the chrome window's context.
- Developer Toolbar
- A command-line interface to manipulate and work with the developer tools in Firefox, and buttons for quick access to the most commonly used tools.
- 3D View
- Also known as "Tilt", this provides a 3D visualisation of the current page.
- Paint Flashing Tool
- The paint flashing tool highlights the part of the browser window that are repainted in response to events, helping to diagnose potential performance problems with your site.
More resources
This section lists resources which aren't maintained by Mozilla's developer tools team, but which are widely used by web developers. We've included a few Firefox add-ons in this list, but for the complete list see the "Web Development" category on addons.mozilla.org.
- Firebug
- A very popular and powerful web development tool, including a JavaScript debugger, HTML and CSS viewer and editor, and network monitor.
- DOM Inspector
- Inspect, browse, and edit the DOM of web pages or XUL windows.
- Web Developer
- Adds a menu and a toolbar to the browser with various web developer tools.
- Webmaker Tools
- A set of tools developed by Mozilla, aimed at people getting started with Web development.
- W3C Validators
- The W3C website hosts a number of tools to check the validity of your website, including its HTML and CSS.
- JSHint
- JavaScript code analysis tool.
Getting help
If you have any questions about the developer tools built into Firefox, please come and ask us on the dev-developer-tools mailing list or in the #devtools channel on Mozilla's IRC network. You can also find out more about the team on our Wiki page.