182

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?

J. Ryan Stinnett
  • 801
  • 8
  • 13
jl6
  • 6,110
  • 7
  • 35
  • 65

5 Answers5

139

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

wbamberg
  • 1,455
  • 1
  • 11
  • 3
  • And it's on central column on the top of the screen (for those who haven't an english version of the settings, in fr : "Préférence générales/activer les journaux persistants") – pdem May 02 '17 at 12:51
  • 1
    I wonder how could they possibly do such a bad job cloning firebug. Which is all they really needed to do. Those guys must be blind or something. – Tomáš Zato May 27 '17 at 22:14
91

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:

Location of "Enable persistent logs" setting in Firefox

vossad01
  • 11,552
  • 8
  • 56
  • 109
48

Roughly three years after BeetleJuice's update, it seems to have moved again - now, you need to click the gear icon on the far right side for the option to appear. Hooray for our ever-changing user interface soup.

enter image description here

zb226
  • 9,586
  • 6
  • 49
  • 79
37

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

enter image description here

BeetleJuice
  • 39,516
  • 19
  • 105
  • 165
  • Just in case anyone is wondering, this is how you do it in Chrome DevTools as well, the checkbox is along the top bar in the Network tab. – ahouse101 Sep 20 '18 at 18:48
8

If "Enable persistent Log" settings is not available in the devtool settings, you can go to about:config(type this in the URL box and enter) page and search for persistlog and change it from there(toggle button on the right).

I can see two options and enabled both. :)

devtools.netmonitor.persistlog, devtools.webconsole.persistlog

succerror
  • 341
  • 3
  • 4