When using jquery and Ajax recently, you sometimes want to look at the value of a JSON string. It is very convenient to use the Httpfox from Firefox.
1. Installation
Click the Firefox Start menu and select Add Component
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/94/B1/wKioL1kMP-nAYCRTAAH-YMWXcdQ611.png-wh_500x0-wm_ 3-wmp_4-s_4023163157.png "title=" Ua$oziu6~mp@duw{ygv ' Ivq.png "alt=" wkiol1kmp-naycrtaah-ymwxcdq611.png-wh_50 "/ >
Search for Httpfox, add components and restart Firefox.
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/94/B1/wKioL1kMP5rC6KUxAACOYk2qduY945.png-wh_500x0-wm_ 3-wmp_4-s_384007496.png "title=" n4p) 7}u_$5w9{m[] ((9 (y]w.png "alt=" Wkiol1kmp5rc6kuxaacoyk2qduy945.png-wh_50 "/>
Add the Httpfox to the Start menu and drag the menu over it.
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/94/B2/wKiom1kMQLzCi7OhAAENAV4MCq4212.png-wh_500x0-wm_ 3-wmp_4-s_2158356762.png "title=" T6z5u0@8{t0s_6}9v$d[dd9.png "alt=" wkiom1kmqlzci7ohaaenav4mcq4212.png-wh_50 "/ >
1. Role
Open Httpfox and click Start to start monitoring browser requests.
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/94/B2/wKiom1kMQVSgXopPAACqyvKJ_aM419.png-wh_500x0-wm_ 3-wmp_4-s_1282100472.png "title=" 52%oh0yw~jb384bu90%1[16.png "alt=" wkiom1kmqvsgxoppaacqyvkj_am419.png-wh_50 "/ >
When you visit a website, Httpfox displays data that interacts between the browser and the URL.
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/94/B1/wKioL1kMQbLy6D08AAF4LNje96Q251.png-wh_500x0-wm_ 3-wmp_4-s_481404040.png "title=" lb[] $CBD 3[3cdmlovg11eev.png "alt=" Wkiol1kmqbly6d08aaf4lnje96q251.png-wh_50 "/>
View the data records submitted to the server, select the request to view the post, click Post data to see the data submitted to the browser.
Check the browser to return data records, click on select need to see the GET request, click Content, you can see the data returned by the server.
Problems that may occur
Content label Error loading content problem Solving method
Open a blank page of Firefox, enter "About:config", return, ignore the risk to enter the Firefox configuration page.
Set the following configuration to True. Problem can be solved.
1) browser.cache.disk.enable
2) browser.cache.memory.enable
3) Network.http.use-cache
4) Browser.cache.disk_cache_ssl
Note: Setting the above to True will make Firefox cache grow and write to disk. When you leave the development debug mode, restore the original value.
This article is from the Java Technology category blog, so be sure to keep this source http://jtech.blog.51cto.com/10072825/1922503
Firefox Debugging Ajax Components Httpfox installation and use