Can I prevent the Firefox developer tools network panel from clearing on page reload?

僤鯓⒐⒋嵵緔 提交于 2020-01-11 15:07:05

问题


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



来源:https://stackoverflow.com/questions/21526871/can-i-prevent-the-firefox-developer-tools-network-panel-from-clearing-on-page-re

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