mozilla

Revision 651777 of Toolbox

  • リビジョンの URL スラグ: Tools/Tools_Toolbox
  • リビジョンのタイトル: Toolbox
  • リビジョンの ID: 651777
  • 作成日:
  • 作成者: wbamberg
  • 現行リビジョン いいえ
  • コメント

このリビジョンの内容

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

Show original sources: when a CSS preprocessor supporting source maps is used, this enables the Style Editor to display the original, preprocessor, sources rather than the generated CSS. Learn more about Style Editor support for CSS source maps. With this setting checked, the Page Inspector Rules view will also provide links to the original sources.

Autocomplete CSS: enable the Style Editor to offer autocomplete suggestions.

JavaScript Profiler

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

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.

このリビジョンのソースコード

<p>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).</p>
<p>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:</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6923/toolbox.png" style="display: block; margin-left: auto; margin-right: auto;" />The window itself is split into two parts: a toolbar along the top, and a main pane underneath:</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6925/toolbox-annotated-29.png" style="display: block; margin-left: auto; margin-right: auto;" /></p>
<h2 id="Toolbar">Toolbar</h2>
<p>The toolbar contains controls to activate a particular tool, to dock/float the window, and to close the window. Note that <a href="#firefox-32-onwards">the toolbar was reorganized in Firefox 32</a>.</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6927/toolbox-toolbar-29.png" style="display: block; margin-left: auto; margin-right: auto;" /></p>
<h3 id="Toolbox_controls">Toolbox controls</h3>
<p>On the far left is a row of buttons to:</p>
<ul>
 <li>close the window</li>
 <li>toggle the window between attached to the bottom of the browser window, and attached to the side of the browser window</li>
 <li>toggle the window between standalone and attached to the browser window</li>
 <li>access <a href="#Settings" title="#Settings">developer tool settings</a></li>
</ul>
<h3 id="Toolbox-hosted_tools">Toolbox-hosted tools</h3>
<p>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:</p>
<ul>
 <li><a href="/en-US/docs/Tools/Web_Console" title="/en-US/docs/Tools/Web_Console">Web Console</a></li>
 <li><a href="/en-US/docs/Tools/Debugger" title="/en-US/docs/Tools/Debugger">JavaScript Debugger</a></li>
 <li><a href="/en-US/docs/Tools/Page_Inspector" title="/en-US/docs/Tools/Page_Inspector">Page Inspector</a></li>
 <li><a href="/en-US/docs/Tools/Style_Editor" title="/en-US/docs/Tools/Style_Editor">Style Editor</a></li>
 <li><a href="/en-US/docs/Tools/Profiler" title="/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler">Profiler</a></li>
 <li><a href="/en-US/docs/Tools/Network_Monitor" title="/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler">Network Monitor</a></li>
</ul>
<p>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).</p>
<h3 id="Extra_tools">Extra tools</h3>
<p>Next there's an array of buttons that can be added or removed in the <a href="#Settings">developer tool settings</a>. By default this array includes:</p>
<ul>
 <li><a href="/en-US/docs/Tools/Page_Inspector#Firefox_30_onwards">Pick an element from the page</a></li>
 <li><a href="/en-US/docs/Tools/Web_Console#The_split_console">Toggle split console</a></li>
 <li><a href="/en-US/docs/Tools/Responsive_Design_View">Responsive Design Mode</a></li>
</ul>
<p>The following tools are not included in the toolbar by default, but you can add them in the <a href="#Settings">settings</a>:</p>
<ul>
 <li><a href="/en-US/docs/Tools/Paint_Flashing_Tool">Highlight painted area</a></li>
 <li><a href="/en-US/docs/Tools/3D_View">3D view</a></li>
 <li><a href="/en-US/docs/Tools/Scratchpad">Scratchpad</a></li>
 <li><a href="/en-US/docs/Tools/Eyedropper">Grab a color from the page</a>: this is new in Firefox 31</li>
 <li>Take a fullpage screenshot: this is new in Firefox 32. It takes a screenshot of the complete web page and saves it in your Downloads directory</li>
</ul>
<h3 id="Firefox_32_onwards"><a name="firefox-32-onwards">Firefox 32 onwards</a></h3>
<p>In Firefox 32 the toolbar was reorganized:<img alt="" src="https://mdn.mozillademos.org/files/7913/toolbox-toolbar-annotated.png" style="display: block; margin-left: auto; margin-right: auto;" />The node picker is now on the far left, and the "toolbox controls" are moved to the far right.</p>
<h2 id="Settings_2"><a name="Settings">Settings</a></h2>
<p>Clicking the "Settings" button gives you access to settings for the Toolbox itself and for the tools it hosts:<br />
 <img alt="" src="https://mdn.mozillademos.org/files/7907/toolbox-settings.png" style="display: block; margin-left: auto; margin-right: auto;" /></p>
<h3 id="Default_Firefox_Developer_Tools">Default Firefox Developer Tools</h3>
<p>This group of checkboxes determines which tools are enabled in the toolbox. New tools are often included in Firefox but not enabled by default.</p>
<h3 id="Available_Toolbox_Buttons">Available Toolbox Buttons</h3>
<div class="geckoVersionNote">
 <p>This setting is new in Firefox 30.</p>
</div>
<p>This group of checkboxes determines which "standalone tools" get buttons in the <a href="/en-US/docs/Tools_Toolbox#Toolbar">toolbar</a>. From Firefox 31, this defaults to the node picker, the split console, and responsive design mode.</p>
<p>Firefox 32 adds a button to take a screenshot of the complete web page, which is unchecked by default.</p>
<h3 id="Choose_DevTools_theme">Choose DevTools theme</h3>
<p>This enables you to switch between a light and a dark theme:</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6933/light-theme.png" style="display: block; margin-left: auto; margin-right: auto;" /><img alt="" src="https://mdn.mozillademos.org/files/6931/dark-theme.png" style="display: block; margin-left: auto; margin-right: auto;" /></p>
<h3 id="Common_preferences">Common preferences</h3>
<p>Settings that apply to more than one tool. There's just one of these:</p>
<p><em>Enable persistent logs</em>: 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.</p>
<h3 id="Inspector">Inspector</h3>
<p><em>Show browser styles</em>: a setting to control whether styles applied by the browser (<a href="/en-US/docs/Web/CSS/Cascade">user-agent styles</a>) should be displayed in the Inspector's <a href="/en-US/docs/Tools/Page_Inspector#Rules_view">Rules view</a>. This setting is new in Firefox 32. Note that this setting is independent of the "Browser styles" checkbox in the Inspector's <a href="/en-US/docs/Tools/Page_Inspector#Computed_view">Computed view</a>.</p>
<p><em>Default color unit</em>: a setting to control how colors are represented in the inspector:</p>
<ul>
 <li>Hex</li>
 <li>HSL(A)</li>
 <li>RGB(A)</li>
 <li>name.</li>
</ul>
<h3 id="Web_Console">Web Console</h3>
<p><em>Enable timestamps</em>: controls whether the Web Console displays timestamps. From Firefox 28 the Web Console defaults to hiding timestamps.</p>
<h3 id="Style_Editor">Style Editor</h3>
<p><em>Show original sources</em>: when a CSS preprocessor supporting source maps is used, this enables the Style Editor to display the original, preprocessor, sources rather than the generated CSS. <a href="/en-US/docs/Tools/Style_Editor#Source_map_support">Learn more about Style Editor support for CSS source maps</a>. With this setting checked, the <a href="/en-US/docs/Tools/Page_Inspector#Link_to_CSS_file">Page Inspector Rules view will also provide links to the original sources</a>.</p>
<p><em>Autocomplete CSS</em>: enable the Style Editor to offer <a href="/en-US/docs/Tools/Style_Editor#Autocomplete">autocomplete suggestions</a>.</p>
<h3 id="JavaScript_Profiler">JavaScript Profiler</h3>
<p><em>Show Gecko platform data</em>: a setting to control whether or not profiles should include Gecko platform symbols.</p>
<h3 id="Advanced_settings">Advanced settings</h3>
<ul>
 <li><em>Disable cache</em>: 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.</li>
 <li><em>Disable JavaScript</em>: reload the current tab with JavaScript disabled</li>
 <li><em>Enable chrome debugging</em>: enable you to use developer tools in the context of the browser itself, and not only web content</li>
 <li><em>Enable remote debugging</em>: enable the developer tools to <a href="/en-US/docs/Tools/Remote_Debugging">debug remote Firefox instances</a></li>
</ul>
<h2 id="Main_Pane">Main Pane</h2>
<p>The content of the main pane in the window is entirely controlled by, and specific to, the hosted tool currently selected.</p>
このリビジョンへ戻す