Help, I lost JSON tab in Firebug console

For some time now (a week before installing the latest 1.4.3 update for Firebug), the JSON content tab disappeared from my Firebug console.

I used to open a GET response from AJAX in the console, then three tabs appear which are labeled URL Parameters, Headers and Response.

When I clicked the "Reply" button, another header appeared inside, with more tabs (if I remember well), and one of the tabs was "JSON" showing a JSON array in a readable way. This header disappeared along with the JSON tab. Does anyone know how to get it back? I am truly lost without him.

+2


source to share


2 answers


Eventually I figured out why mine was not working. This is because my headers are being sent from apache with Content-Type: text / html.

I am setting headers from php before printing JSON:



header('Content-Type: text/plain')

      

And it all starts working correctly - now I can see the JSON tab in the Firebug Console and Net tabs.

+6


source


Try clicking the Firebug icon> Options> Reset All Firebug options.



0


source







All Articles