how to auto open devtools in chrome for localhost code example
Example: mac os chrome opne debug new tab
open /Applications/Google\ Chrome.app --args --auto-open-devtools-for-tabs
open /Applications/Google\ Chrome.app --args --auto-open-devtools-for-tabs