Chrome DevTools Cheatsheet - Front-end Debugging Reference
Console.log poking is a poor substitute for stepping through a live page. This reference covers Elements and DOM breakpoints, console tricks, Network waterfall and request replay, Performance flame charts, and Application storage. Use it when a page works on your laptop but misbehaves in production — isolate a layout bug, find a slow request, or trace a storage leak. After reading you inspect, measure and fix frontend problems from inside the browser instead of guessing.
Shortcuts 8
F12 or Cmd+Option+IF12 or Ctrl+Shift+ICmd+Option+JCmd+Option+ECmd+Shift+CCmd+Shift+PCmd+PCmd+Shift+MConsole Commands 12
console.log("message")console.table(array)console.time("label") / console.timeEnd("label")console.count("label")console.group("group") / console.groupEnd()console.assert(condition, "error")console.dir(element)copy(document.title)$0$("selector")$$("selector")monitorEvents(element, "click")Elements Debugging 9
Edit as HTMLToggle Edit as HTMLForce Element State (:hover, :active)Break on: subtree modificationsBreak on: attribute modificationsStore as global variableCopy selectorCopy XPathDelete nodeNetwork Analysis 10
Disable cacheThrottling: Slow 3GFilter: Doc, JS, CSS, Img, XHRFilter: -domain:example.comFilter: status-code:404Filter: is:from-cacheReplay XHRCopy as cURLSave as...Block request URLPerformance 7
RecordScreenshotsMemoryMain threadFlame ChartBottom-Up / Call TreeSummaryApplication Storage 8
Local StorageSession StorageCookiesIndexedDBCache StorageClear site dataService WorkersManifestTips
- $0 in Console is the currently selected DOM element, directly operable.
- Right-click in the Network panel and Copy as cURL to replay a request in the terminal.
- When recording in the Performance panel, avoid other tabs open, which hurts accuracy.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Jul 21, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact Us