Learn to get more comfortable with DevTools
If you're a web developer, DevTools Tips is for you! Whatever your level of experience, and whatever browser you
prefer using for web development, use DevTools Tips to learn new tips and tricks on a regular basis.
Get tips delivered to your favorite news reader by using our RSS feed.
There are currently 182 tips (and we're adding more all the time) available thanks to all of our wonderful
open-source contributors.
If you know other debugging techniques and tips not documented here, submit a new tip on our
GitHub repository!
Latest tips
-
Create contextual console loggers
Applications are often made up of multiple subsystems or components, each with its own set of log messages. When you're debugging such an application, it might be hard to find the logs you're looking... Read moreSupported by:
-
Find in files
To find occurrences of a string in all of the files of the webpage you are inspecting, for example to find where a specific CSS class is defined, or where a specific JavaScript API is used: In Firef... Read moreSupported by:
-
Extend traces recorded in the Performance tool with your own custom data
The Performance tool lets you add custom tracks with your own custom events, when recording performance traces. This is useful to surface your own performance data, which might not map directly to the... Read moreSupported by:
-
Visualize a webpage's memory usage during a performance recording
To check how much memory a webpage consumes over the time of a specific user scenario, and to identify potential memory leaks, you can use the Memory tool in Chrome or Edge DevTools with the Memory op... Read moreSupported by:
-
Override source files to test changes in the browser
It can be helpful to make quick changes to the source code that a site uses, especially when debugging a site in production. For example, if you suspect that a bug is caused by a specific line of code... Read moreSupported by: