Open Chrome from terminal with developer console open

前端 未结 4 1449
温柔的废话
温柔的废话 2021-02-18 17:18

I can run Google Chrome from the command line using $ google-chrome, but what flag can I pass to open it with developer console already open, preferably open to the

4条回答
  •  北海茫月
    2021-02-18 18:02

    The flag you're looking for is --auto-open-devtools-for-tabs. Please note, that you should quit Chrome before this setting will take effect.

    This has worked at least since Chrome 55.0.2883.87 m (the latest version as of initial post)

提交回复
热议问题