title: Chrome's --auto-open-devtools-for-tabs
body: <p>I'm trying to get the devtools to open automatically when starting chrome from a shortcut with a command line switch <code>--auto-open-devtools-for-tabs</code>. </p>
  
  <p>i.e. the path of that shortcut is: <code>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -incognito -auto-open-devtools-for-tabs</code> (or --auto-open-devtools-for-tabs).</p>
  
  <p>But both don't seem to open the dev tools, neither does entering in the cmd <code>chrome.exe -auto-open-devtools-for-tabs</code> (or --auto-open-devtools-for-tabs), of course when in Chrome's folder.</p>
  
  <p>Maybe I'm doing something wrong?</p>
  
  <p>The command is from: </p>
  
  <p><a href="http://peter.sh/experiments/chromium-command-line-switches/#auto-open-devtools-for-tabs" rel="noreferrer">http://peter.sh/experiments/chromium-command-line-switches/#auto-open-devtools-for-tabs</a></p>
  
  <p><a href="https://stackoverflow.com/a/41452619/4279201">https://stackoverflow.com/a/41452619/4279201</a></p>