Saturday, 22 April 2017

OSX cannot open the `chrom://` protocol by the `open` command

when I try to edit

open "chrome://settings"

It says: The file /chrome:/settings does not exist.

open -a Google\ Chrome "chrome://settings"

also couldn't open the settings in chrome.seems the open command only could open the http && https protocol

In fact, I want to debug some Node code in Chrome Dev Tool, every time I run

node --inspect --debug-brk index.js

I must copy the debug link into Chrome to open the Dev Tool. I want to open it automatically.But the open command cannot it.So want to ask for help.



via Loatheb

No comments:

Post a Comment