How to use Chrome's network debugger with redirects

前端 未结 4 1890
陌清茗
陌清茗 2020-11-30 16:28

The Chrome network debugger gives me a great view of all the HTTP resources loaded for a page. But it clears the list whenever a new top-level HTML page is loaded. This mak

4条回答
  •  情书的邮戳
    2020-11-30 17:21

    I don't know of a way to force Chrome to not clear the Network debugger, but this might accomplish what you're looking for:

    1. Open the js console
    2. window.addEventListener("beforeunload", function() { debugger; }, false)

    This will pause chrome before loading the new page by hitting a breakpoint.

提交回复
热议问题