Shortcuts
Settings > Shortcuts lists default shortcuts you can use while focused in DevTools to speed up your workflow.
For a full list of default shortcuts, see Keyboard shortcuts.
You can use the Visual Studio Code alternatives to default shortcuts. Select Visual Studio Code
from Settings > Shortcuts > Match shortcuts from preset.
Customize shortcuts
This is a preview option. To enable it, check Settings > Experiments > Enable keyboard shortcut editor.
To customize keyboard shortcuts:
In the Shortcuts tab, hover over any shortcut and click the Edit button.
Put the cursor in the text bar and press any convenient combination of keys (chord). DevTools notifies you if the combination is already in use.
Record a new combination and click the Check button.
ImportantTo add an additional synonymous combination, click Add a shortcut and record another chord in a similar way.
To revert or delete changes, click Back or Delete.
Add shortcuts to unassigned actions
This is a preview option. To enable it, check Settings > Experiments > Enable keyboard shortcut editor.
By default, DevTools doesn't assign shortcuts to all available actions.
For example, to toggle light and dark theme preference with a keystroke, in the Settings > Shortcuts > Rendering section, set your own shortcut as described in Customize shortcuts.
Restore default shortcuts
To bring back defaults, click Restore default shortcuts in the bottom-right corner of the Settings > Shortcuts tab.