Is it possible to open multiple instances or split view of chrome developer tools tabs?

*爱你&永不变心* 提交于 2019-11-27 06:52:40

问题


I want to debug code at the same time as I see what is being sent on the network tab without having to go back and forth between the Network tab and Sources tab. Is there a way to do this as of chrome Version 52.0.2743.82 or Version 54.0.2810.2 canary?

I know that it is possible to log http request in the console which can be visible with other tabs open but I want the actuall networks tab if possible..

Thank you in advance


回答1:


You can view 'Quick source' while viewing the Network panel (or the other main panels) at the same. This will allow you to view the source and add breakpoints.

However, it's not possible to step through code using the debugging in the split view. Chrome will automatically switch to the Sources tab if you use the shortcuts.

It's also not possible to have an extension running a separate instance of the debugger as the Chrome Debugging Protocol doesn't allow simultaneous clients to be connected.

I will open up a discussion with other Chromium contributors into the feasibility of sharing the debugging controls in the split view. I don't know whether it will or can be done easily. I suspect it's a fair amount of work.

If you would like to set up the split view, as it's useful anyway, go to overflow menu on the right side and select 'More Tools' and then select 'Show console'. This makes sure the panel loads below the main one.

On the left side of the panel that shows, click the overflow menu and select 'Quick source'.

You will now see a small Sources panel.




回答2:


  1. Open the Chrome DevTools (Mac: Alt + CMD + J, Windows/Linux: Control+Shift+J)
  2. Hit the three dots on the top right side (Customize and control DevTools)
  3. Under Dockside choose "Undock into seperate window"
  4. Press your keyboard shortcut to open the DevTools again.

Now you can create as many instances as you need.



来源:https://stackoverflow.com/questions/38635541/is-it-possible-to-open-multiple-instances-or-split-view-of-chrome-developer-tool

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