How to open the chrome browser to a chrome dev tool url How to open the chrome browser to a chrome dev tool url google-chrome google-chrome

How to open the chrome browser to a chrome dev tool url


open doesn't support the chrome-devtools protocol, so it just tries to open a local file path instead. Since it doesn't exist, it gives you the error you are getting.

I looked around for another solution and I found that you can use an osascript to tell the application itself to open the URL.

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome & osascript -e 'tell application "Google Chrome" to open location "chrome-devtools://devtools/remote/serve_file/@60cd6e859b9f557d2312f5bf532f6aec5f284980/inspector.html?experiments=true&v8only=true&ws=localhost:9229/node"'