chrome developer tools - undock sources tab

不羁岁月 提交于 2019-12-25 19:58:10

问题


Is there a way to undock the sources tab using Chrome developer tools? If I had 3 monitors, I would like:

  • Webpage to be on monitor 1
  • Elements tab to be displayed on monitor 2
  • Sources tab to be shown on monitor 3

回答1:


Open several devtools tabs for the same target tab and choose a different view in each one.

Preparations:

  1. exit Chrome by using the "Exit" command in the browser menu
  2. run Chrome with --remote-debugging-port=9222 command line
    • you can use any number in 1024-65535 range, 9222 is the default, just make sure it's not used by another program (there are tools to view open ports);
    • edit the Chrome shortcut in your OS/launcher and always use it to start Chrome;

Usage:

  1. in Chrome open localhost:9222
    (the port number is the one you've specified in the command line)
  2. click the entry for your target tab
  3. move the tab to another display

Repeat as many times as needed.



来源:https://stackoverflow.com/questions/54927834/chrome-developer-tools-undock-sources-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!