open developer tool chrome code example
Example 1: mac os chrome opne debug new tab
open /Applications/Google\ Chrome.app --args --auto-open-devtools-for-tabs
Example 2: how to open console in google chrome
SHFT+CTRL+J
open /Applications/Google\ Chrome.app --args --auto-open-devtools-for-tabs
SHFT+CTRL+J