Chrome DevTools

by | Nov 21, 2013 | Google, Google Workspace | 0 comments

Keyboard Shortcuts

The DevTools has several built-in shortcut keys that developers can use to save time in their day to day workflow. Outlined below is each shortcut and the corresponding key for each on Windows/Linux and Mac. While some shortcuts are globally available across all of the DevTools, others are specific to a single panel, and are broken up based on where it can be used.

Opening DevTools

To access the Developer Tools, on any web page or app in Google Chrome you can use one of these options:

  • Open the Chrome menu 
    Chrome menu
     at the top-right of your browser window, then select Tools > Developer Tools.
  • Right-click on any page element and select Inspect Element.
 Windows / LinuxMac
Open Developer ToolsF12, Ctrl + Shift + ICmd + Opt + I
Open / switch from inspect element mode and browser windowCtrl + Shift + CCmd + Shift + C
Open Developer Tools and bring focus to the consoleCtrl + Shift + JCmd + Opt + J
Inspect the Inspector (undock first one and press)Ctrl + Shift + JCmd + Opt + J

To open up the General Settings dialog type ? or F1 when the Developer Tools window is open. Press Esc to close the settings dialog.

All Panels

 Windows / LinuxMac
Show General Settings dialog?, F1?
Next panelCtrl + ]Cmd + ]
Previous panelCtrl + [Cmd + [
Backward in panel HistoryCtrl + Alt + [Cmd + Alt + [
Forward in panel historyCtrl + Alt + ]Cmd + Alt + ]
Jump to panel 1-9 (when enabled in General Settings)Ctrl + 1-9Cmd + 1-9
Toggle Console / close settings dialog when openEscEsc
Refresh the pageF5, Ctrl + RCmd + R
Refresh the page ignoring cached contentCtrl + F5, Ctrl + Shift + RCmd + Shift + R
Text search within current file or panelCtrl + FCmd + F
Text search across all sourcesCtrl + Shift + FCmd + Alt + F
Search by filename (except on Timeline)Ctrl + O, Ctrl + OCmd + O, Cmd + O
Restore default text sizeCtrl + 0Shift + 0
Zoom inCtrl + +Shift + +
Zoom outCtrl + –Shift + –

Elements Panel

 Windows / LinuxMac
Undo changeCtrl + ZCmd + Z
Redo changeCtrl + YCmd + Y, Cmd + Shift + Z
NavigateUp, DownUp, Down
Expand / collapse nodeRight, LeftRight, Left
Expand nodeSingle-click on tagSingle-click on tag
Edit attributeEnter, Double-click on attributeEnter, Double-click on attribute
Hide elementHH
Toggle edit as HTMLF2 

Right-clicking an element you can:

  • Force element psuedo states: (:active:hover:focus:visited)
  • Set breakpoints on the elements: (Subtree modifications, Attribute modification, Node removal)
  • Clear console

Contact Us

4733 Torrance Blvd #139, Torrance, CA 90503-4100

email: sales @ easycloudsolutions.com