2. Auto-start DevTools
To start development, you normally need to launch your browser (perhaps in incognito mode), open DevTools, and navigate to a local URL. The whole process can be automated in a single click by adding options to the browser launch command.
It’s best to create a new shortcut or script to launch in development mode then, for Google Chrome add:
--incognito to start in incognito mode
--auto-open-devtools-for-tabs to start DevTools
and place the testing URL at the end, e.g. http://localhost:8000/
On Windows devices, a shortcut could therefore point to:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --incognito --auto-open-devtools-for-tabs http://localhost:8000
Other useful Chrome switches include:
--allow-insecure-localhost to ignore SSL errors on localhost domains
--disable-extentions to start without extensions which could possibly affect rendering, e.g. ad blockers
--window-size=
--window-position=
--user-data-dir="