Chrome Dev Tools is it possible to keep open even after window closes?

前端 未结 2 1517
长情又很酷
长情又很酷 2020-12-29 03:56

I need to see the network traffic for a particular site of which I have no control. The problem is that the site at one point triggers a pop-up which automatically closes wh

2条回答
  •  猫巷女王i
    2020-12-29 04:46

    You could set an window close event breakpoint. This way the debugger stops the widnow (popup) from closing.

    devtools -> scripts (or sources) -> event listener breakpoints -> Window -> close

    enter image description here

    Link to Chromium rfc

提交回复
热议问题