If you are a web developer, I’m pretty sure you are already familiar with Chrome Dev Tools. It has a massive list of features to support web development. But most of us use the bare minimum, just to get the work done.

In this post, I’m presenting ten tips on Chrome Dev Tools, that will help to boost your productivity and take you to the next level.

1. Command Menu

One of the features I love about my editor (VS Code) is the Command Pallet feature. It gives developers the ability to execute a lot of commands right from the keyboard. All you have to press ctrl + shift+p and you have hundreds of commands available. This feature is being implemented in multiple applications, and now it is available in Chrome Dev Tools as well.

Let’s imagine you wanted to take a screenshot of an HTML node on your web page. All you have to do is;

  1. Open Chrome Dev Tools.
  2. Select the node you want to extract.
  3. Press ctrl + shift+p and type Screenshot .

There are multiple options to take a screenshot, and you can proceed with any of them.

Image for post

Taking a screenshot of a selected node using Command Menu


Tip: Share your reusable components between projects using Bit (Github). Bit makes it simple to share, document, and organize independent components from any project.

Use it to maximize code reuse, collaborate on independent components, and build apps that scale.

Bit supports Node, TypeScript, React, Vue, Angular, and more.

Image for post

Example: browsing through React components shared on Bit (Github)

2. The Console can do a lot of things.

When debugging web applications, I tend to use Console logs to check the application behavior. However, if you do extensive logging to the Console, it makes it difficult to narrow down the log messages efficiently. Let’s explore the options available that help to distinguish each message.

#chrome #devtools #frontend #front-end-development #javascript

10 Tips to Improve Productivity using Chrome Dev Tools
1.20 GEEK