Google Chrome DevTools is a suite of built-in tools that helps you inspect, debug, test, and optimise websites directly in the browser during development. As it's name suggest it is available when using the Google Chrome browser.
It is best to use Google DevTools in incognito mode for 2 key reasons:
- It is a coding "clean room" so any Chrome extensions you have are disabled and will not be injecting scripts, adding to your DOM or changing your CSS. This lets you debug issues that are present in your code
- There are no stored cookies, stored local data or cached files; so when you test your performance you will be testing it from the point of a view of a first time visitor to your website
You can open DevTools in several ways:
- Right-click > Inspect
-
Keyboard shortcuts:
- Windows/Linux: Ctrl + Shift + I or F12
- macOS: Cmd + Option + I
- Chrome menu > More Tools > Developer Tools
DevTools usually opens docked to the right side of the browser, but you can change this layout. Click the three-dot (⋮) menu in DevTools > Dock side, then choose if you'd like it on the right, bottom, left, or in a new window.