Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Toolbox

Deze vertaling is niet volledig. Help dit artikel te vertalen vanuit het Engels.

The Toolbox provides a single home for most of the developer tools that are built into Firefox. You can open it by selecting "Toggle Tools" from the Web Developer menu (under "Tools" on OS X and Linux, or "Firefox" on Windows), or by activating any tool hosted in it (for example, the JavaScript Debugger or the Page Inspector).

By default, the window appears docked to the bottom side of the Firefox window, but you can detach it if you like. This is what it looks like when it's docked:

The window itself is split into two parts: a toolbar along the top, and a main pane underneath:

Toolbar

The toolbar contains controls to activate a particular tool, to dock/float the window, and to close the window. Note that the toolbar was reorganized in Firefox 32.

Toolbox controls

On the far left is a row of buttons to:

  • close the window
  • toggle the window between attached to the bottom of the browser window, and attached to the side of the browser window
  • toggle the window between standalone and attached to the browser window
  • access developer tool settings

Toolbox-hosted tools

Then there is an array of labeled buttons which enables you to switch between the different tools hosted by the Toolbox. The array may include the following tools:

Note that not all the hosted tools are always listed here: only the tools actually available in this context are shown (for example, not all tools support remote debugging yet, so if the debugging target is not the Firefox instance that launched the window, not all the hosted tools will be shown).

Extra tools

Next there's an array of buttons that can be added or removed in the developer tool settings. By default this array includes:

The following tools are not included in the toolbar by default, but you can add them in the settings:

Firefox 32 onwards

In Firefox 32 the toolbar was reorganized:The node picker is now on the far left, and the "toolbox controls" are moved to the far right.

Settings

Clicking the "Settings" button gives you access to settings for the Toolbox itself and for the tools it hosts:

Default Firefox Developer Tools

This group of checkboxes determines which tools are enabled in the toolbox. New tools are often included in Firefox but not enabled by default.

Available Toolbox Buttons

This setting is new in Firefox 30.

This group of checkboxes determines which "standalone tools" get buttons in the toolbar. From Firefox 31, this defaults to the node picker, the split console, and responsive design mode.

Firefox 32 adds a button to take a screenshot of the complete web page, which is unchecked by default.

Choose DevTools theme

This enables you to switch between a light and a dark theme:

Common preferences

Settings that apply to more than one tool. There's just one of these:

  • Enable persistent logs: a setting to control whether or not the Web Console and Network Monitor clear their output when you navigate to a new page. Before Firefox 31, this setting only applied to the Web Console, and was listed under the Web Console.

Inspector

  • Show browser styles: a setting to control whether styles applied by the browser (user-agent styles) should be displayed in the Inspector's Rules view. This setting is new in Firefox 32. Note that this setting is independent of the "Browser styles" checkbox in the Inspector's Computed view.
  • Default color unit: a setting to control how colors are represented in the inspector:
    • Hex
    • HSL(A)
    • RGB(A)
    • name.

Web Console

  • Enable timestamps: controls whether the Web Console displays timestamps. From Firefox 28 the Web Console defaults to hiding timestamps.

Style Editor

JavaScript Profiler

  • Show Gecko platform data: a setting to control whether or not profiles should include Gecko platform symbols.

Editor Preferences

Preferences for the CodeMirror source editor, which is included in Firefox and used by several developer tools, including Scratchpad and the Style Editor.

  • Detect indentation: auto-indent new lines based on the current indentation
  • Autoclose brackets
  • Indent using spaces
  • Tab size
  • Keybindings: choose the default CodeMirror keybindings, or keybindings from one of several popular editors:
    • Vim
    • Emacs
    • Sublime Text

Advanced settings

  • Disable cache: disable the browser cache to simulate first-load performance. From Firefox 33 onwards this setting persists, meaning that if it is set, caching will be disabled whenever you reopen the devtools. Caching is re-enabled when the devtools are closed.
  • Disable JavaScript: reload the current tab with JavaScript disabled
  • Enable chrome debugging: enable you to use developer tools in the context of the browser itself, and not only web content
  • Enable remote debugging: enable the developer tools to debug remote Firefox instances

Main Pane

The content of the main pane in the window is entirely controlled by, and specific to, the hosted tool currently selected.

Documentlabels en -medewerkers

 Aan deze pagina hebben bijgedragen: [email protected]
 Laatst bijgewerkt door: [email protected],