How to Open the Chrome Console Directly (Ctrl+Shift+J)
Windows: Ctrl+Shift+J
Mac: Cmd+Option+J
Ctrl+Shift+J opens Chrome DevTools with the Console panel already active — Cmd+Option+J on macOS. It skips the step of opening DevTools and then finding the Console tab, which matters because the Console is where most debugging sessions actually start.
**Three shortcuts open DevTools, and they land in different places.** Ctrl+Shift+J goes to the Console. Ctrl+Shift+C activates element inspection with the picker armed, ready to click something on the page. F12 or Ctrl+Shift+I opens DevTools at whichever panel you last used. Choosing the right one saves a click every time, and the difference is worth internalising because these are keystrokes you press dozens of times a day if you work on the web at all.
**The Console is not only for reading errors.** It is a live JavaScript environment with access to the page, so you can inspect variables, call functions the page defines, and manipulate the DOM to test a change before writing it. The `$0` shorthand refers to whichever element is currently selected in the Elements panel, which makes the round trip between inspecting something and experimenting on it very short.
**Errors that appear before DevTools opens are still there.** Chrome buffers console output from page load, so opening the Console after an error has occurred still shows it. What does not survive is a page navigation, unless Preserve Log is enabled in the Console settings — which is the setting to turn on when debugging something that happens during a redirect or a form submission and vanishes before you can read it.
**Filtering is what makes a noisy console usable.** Production sites often log a great deal, and the level filter lets you show only errors, or only warnings and above. The text filter accepts a negation, so typing `-analytics` hides everything containing that string. On a page where a third-party script logs continuously, that is the difference between a usable console and scrolling past noise looking for your own message.
**The Console drawer is the other half of this.** Pressing Escape with DevTools open toggles a Console panel at the bottom of whichever other panel you are in, so you can watch console output while working in Elements or Network without switching away. For anything that involves changing markup and watching what it logs, that split view is considerably better than tabbing back and forth.
**One caution about running code in the Console.** Chrome shows a warning about self-XSS when you first paste into it, and the warning is warranted: instructions to paste something into the Console to unlock a feature or fix an account are a standard social-engineering attack. Code you paste runs with the full privileges of the page, including access to your session. Typing is fine; pasting something you were sent by a stranger is not.
**DevTools can be undocked**, which is worth doing on a small screen. The three-dot menu inside DevTools offers docking to the right, to the bottom, or in a separate window — and a separate window on a second monitor gives both the page and the tools full width, which is the arrangement most people settle on once they know it exists.