While automating some parts of my development workflow, I was wondering if there was a way of opening a browser with DevTools open by default. This would save me a few clicks and small tweaks like this are always helpful.
And it turns out that it is possible! All I needed was a command-line flag to be passed in when opening Google Chrome. The flag to be passed is --auto-open-devtools-for-tabs
and can be passed as:
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --auto-open-devtools-for-tabs https://wisdomgeek.com
BashThe –auto-open-devtools flag opens the browser tab for the URL with the DevTools open. Having the devtools open up by default can be handy for many things, including setting up your web development workflows!
I am terrible at optimizing my keyboard layout for anything. But off lately, my little…
I recently switched completely to the Brave browser and have set ad blocking to aggressive…
I was preparing a slide deck for a hackathon and decided to put in a…
I have been using npx a lot lately, especially whenever I want to use a…
Manually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is…
While working on a project, I wanted to do an integrity check of a file…