how to open development tools in chrome 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