在打开新标签页/新窗口时自动打开Chrome开发者工具 [英] Automatically open Chrome developer tools when new tab/new window is opened

查看:9797
本文介绍了在打开新标签页/新窗口时自动打开Chrome开发者工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个HTML5应用程序,它通过点击链接在新窗口中打开。每次我想记录网络通信以启动开发人员工具时,我都已经厌倦了按 Shift + I ,因为我总是需要它。



有什么方法可以在新建时自动打开开发人员工具窗口在Chrome中打开?

解决方案

更新: $ b

时间已更改,现在可以使用--auto-open-devtools-for-tabs,如 p> OP:



我在执行时为Chrome浏览器启动了字符串,但无法使其保留到新标签。

我也想过一个可以从提示中调用的定义的PATH方法。这可以通过SendKeys命令来实现,但是只能在新的实例上。并且DevTools不会保留到新标签中。



浏览Google产品论坛,Chrome中似乎没有内置的方法。您必须使用按键解决方案或 F12 ,如上所述。



我将其推荐为一项功能。我知道我也不是第一个。


I have HTML5 application which opens in a new window by clicking a link. I'm a bit tired of pressing Shift + I each time I want to logging network communication to launch Developer tools because I need it always. I was not able to find an option to keep Developer Tools always enabled on startup.

Is there any way to open Developer tools automatically when new window is opened in Chrome?

解决方案

UPDATE:

Time has changed, you can now use --auto-open-devtools-for-tabs as in this answer – Wouter Huysentruit May 18 at 11:08

OP:

I played around with the startup string for Chrome on execute, but couldn't get it to persist to new tabs.
I also thought about a defined PATH method that you could invoke from prompt. This is possible with the SendKeys command, but again, only on a new instance. And DevTools doesn't persist to new tabs.

Browsing the Google Product Forums, there doesn't seem to be a built-in way to do this in Chrome. You'll have to use a keystroke solution or F12 as mentioned above.

I recommended it as a feature. I know I'm not the first either.

这篇关于在打开新标签页/新窗口时自动打开Chrome开发者工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆