Overview Open Chrome DevTools What's New in DevTools DevTools tips Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS Developer Resources: View and manually load source maps CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect ArrayBuffer, TypedArray, DataView, and Wasm Memory. Network conditions: Override the user agent string Security: Understand security issues Search: Find text across all loaded resources Sensors: Emulate device sensors WebAuthn: Emulate authenticators Customize DevTools Engineering blog
Overview Open Chrome DevTools What's New in DevTools DevTools tips Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS Developer Resources: View and manually load source maps CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect ArrayBuffer, TypedArray, DataView, and Wasm Memory. Network conditions: Override the user agent string Security: Understand security issues Search: Find text across all loaded resources Sensors: Emulate device sensors WebAuthn: Emulate authenticators Customize DevTools Engineering blog

Run commands in the Command Menu

Published on Updated on

The Command Menu provides a fast way to navigate the Chrome DevTools UI and accomplish common tasks, such as disabling JavaScript. You may be familiar with a similar feature in Visual Studio Code called the Command Palette, which was the original inspiration for the Command Menu.

The Command Menu.

Open the Command Menu

To open the Command Menu:

  • Press Control+Shift+P (Windows / Linux) or Command+Shift+P (Mac).
  • Click Customize and control DevTools. Customize and control DevTools and then select Run command.
Run command.

Open files

If you use the workflow outlined in Open the Command Menu, the Command Menu opens with a Run > prepended in the text box.

To open a file instead, delete the > character and start typing a file name.

Open.

The Run prepend changes to Open and DevTools searches for relevant files instead.

Alternatively, you can go straight to the Open File menu in one of the following ways:

  • Press Control+P (Windows / Linux) or Command+P (Mac).
  • Click Customize and control DevTools. Customize and control DevTools and then select Open file.

Open ignore-listed files

Note: This is a Experimental. preview feature available in Chrome from version 106.

By default, DevTools hides the files of known third-parties. To open such files from the menu, disable the Hide ignore-listed sources option in the Sources panel.

See other available actions

To see other actions available from the Command Menu, delete the > character and type ?.

Other actions.

Updated on Improve article

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.