Chrome DevTools keyboard shortcuts
Windows · Chrome 142 · 35 shortcuts
Hotkeypediahotkeypedia.com
Opening DevTools
- Open or close DevToolsOptionCmdIF12orCtrlShiftIF12orCtrlShiftI
- Open the Console panelOptionCmdJCtrlShiftJCtrlShiftJ
- Inspect an elementShiftCmdCCtrlShiftCCtrlShiftC
- Open the Command MenuShiftCmdPCtrlShiftPCtrlShiftP
- Open DevTools settingsF1orShift/F1orShift/F1orShift/
- Switch the dock positionShiftCmdDCtrlShiftDCtrlShiftD
Panels
- Next panelCmd]Ctrl]Ctrl]
- Previous panelCmd[Ctrl[Ctrl[
- Show or hide the drawerEscEscEsc
- Toggle device modeShiftCmdMCtrlShiftMCtrlShiftM
- Search across all loaded filesOptionCmdFCtrlShiftFCtrlShiftF
- Search in the current panelCmdFCtrlFCtrlF
- Start or stop recording (Network, Performance)CmdECtrlECtrlE
Elements panel
- Hide the selected elementHHH
- Edit the element as HTMLF2F2F2
- Expand the node→→→
- Collapse the node←←←
- Undo the last changeCmdZCtrlZCtrlZ
- Delete the elementDeleteDeleteDelete
Console
- Clear the consoleCmdKCtrlLCtrlL
- New line without runningShiftEnterShiftEnterShiftEnter
- Accept the suggestionTabor→Tabor→Tabor→
- Previous command↑↑↑
Sources and debugging
- Open a fileCmdPCtrlPCtrlP
- Go to a function in the fileShiftCmdOCtrlShiftOCtrlShiftO
- Go to a lineCtrlGCtrlGCtrlG
- Toggle a breakpointCmdBCtrlBCtrlB
- Pause or resume the scriptF8orCmd\F8orCtrl\F8orCtrl\
- Step over the next callF10orCmd'F10orCtrl'F10orCtrl'
- Step into the next callF11orCmd;F11orCtrl;F11orCtrl;
- Step out of the functionShiftF11orShiftCmd;ShiftF11orCtrlShift;ShiftF11orCtrlShift;
- Run the snippetCmdEnterCtrlEnterCtrlEnter
- Save changes to the fileCmdSCtrlSCtrlS
- Comment or uncomment the lineCmd/Ctrl/Ctrl/
- Close the file tabOptionWAltWAltW