Skip to content

↑↓ moveEnter openEsc close

Open a file in Chrome DevTools

Chrome DevTools Chrome 142 · 35 shortcuts · checked Nov 2026 · Source: Google docs

In Chrome DevTools, press Cmd+P (Mac), Ctrl+P (Windows, Linux). Works when: sources panel.

What else uses Cmd+P? · What else uses Ctrl+P?

More Chrome DevTools shortcuts: sources and debugging

ActionMacWindowsLinux
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/

All 12 in sources and debugging · All 35 Chrome DevTools shortcuts