How to use Chrome's network debugger with redirects

前端 未结 4 1889
陌清茗
陌清茗 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 17:09

    This has been changed since v32, thanks to @Daniel Alexiuc & @Thanatos for their comments.


    Current (≥ v32)

    At the top of the "Network" tab of DevTools, there's a checkbox to switch on the "Preserve log" functionality. If it is checked, the network log is preserved on page load.

    Chrome v33 DevTools Network Tab: Preserve Log

    The little red dot on the left now has the purpose to switch network logging on and off completely.


    Older versions

    In older versions of Chrome (v21 here), there's a little, clickable red dot in the footer of the "Network" tab.

    Chrome v22 DevTools Network Tab: Preserve Log Upon Navigation

    If you hover over it, it will tell you, that it will "Preserve Log Upon Navigation" when it is activated. It holds the promise.

提交回复
热议问题