Can I prevent the Firefox developer tools network

2019-03-08 09:02发布

问题:

I would like to observe the contents of a POST request whose successful completion results in a location.reload() - when I try to capture this request in the Network Panel of the Firefox developer tools, I find that the page reload clears the list of captured events. Can I prevent this clearing?

回答1:

From Firefox 31 onwards you can use the "Enable persistent logs" setting to prevent the Network Monitor from clearing the list on reload.



回答2:

Despite knowing the name for the setting is "Enable persistent logs", it took me a while to find it on the settings page. I hope this helps:



回答3:

I couldn't find this setting in Firefox 57. The setting has been moved to the network tab itself, above the log table