Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox developer tools truncates long network response, Chrome does not show

Tags:

I used (winter 2018) to be able to capture a JSON response using either Chrome or Firefox developer tools. Now for the long ones I need (>> 1 MB) Chrome doesn't work, and Firefox truncates at 1 megabyte. This was using the developer tools. Short ones work on Firefox.

There was a recent response on "firebug" saying it was fixed in Firefox, but no. This was a response from familytreedna.com of a big JSON file used to construct a tree. The web page works ... but it takes a long time to download the data file (11 megabytes!) Is this a bug or "feature" in the developer tools.

like image 211
Doug McDonald Avatar asked Aug 04 '18 16:08

Doug McDonald


2 Answers

Firefox dev tools network inspector still truncates responses to 1MB by default.

You can change or disable the limit by navigating to about:config and changing devtools.netmonitor.responseBodyLimit. To disable the limit, set it to 0.

enter image description here

like image 169
Joni Avatar answered Sep 18 '22 14:09

Joni


Update

See @Joni's answer for more info about it.

Original Answer

This bug already reported on https://bugzilla.mozilla.org and fixed in Firefox 61.

So update your browser to v61 (if you didn't already) and feel free to report the issue on bugzilla if it's still exists.

like image 32
Mehdi Dehghani Avatar answered Sep 16 '22 14:09

Mehdi Dehghani