Request Monitoring in Chrome

后端 未结 9 1925
南旧
南旧 2020-11-22 08:29

In Firefox, I use Firebug which allows me to view every http request my ajax calls are making. I\'ve switched over my development to Chrome and am liking it so far. My onl

相关标签:
9条回答
  • 2020-11-22 08:58

    Thanks all person who try to help in this post

    I have ubuntu 13.10 and my chrome version is 34.0

    For my situation this works

    1.open developer tools in chrome(or use right click on your page and then select inspect element)
    2.go to "Network" tab
    3.find your ajax request in "Name Path" column 
    4.click on the specific ajax link
    

    now you should see a new Panel in front of you request

    in this panel select "Response" tab
    
    0 讨论(0)
  • 2020-11-22 08:59

    You can also just right click on the page in the browser and select "Inspect Element" to bring up the developer tools.

    https://developer.chrome.com/devtools

    0 讨论(0)
  • 2020-11-22 09:02

    don't know as of which chrome version this is available, but i found a setting 'Console - Log XMLHttpRequests' (clicking on the icon in the bottom right corner of developer tools in chrome on mac)

    0 讨论(0)
  • 2020-11-22 09:03

    You could use Fiddler which is a good free tool.

    0 讨论(0)
  • 2020-11-22 09:06

    I know this is an old thread but I thought I would chime in.

    Chrome currently has a solution built in.

    1. Use CTRL+SHIFT+I (or navigate to Current Page Control > Developer > Developer Tools. In the newer versions of Chrome, click the Wrench icon > Tools > Developer Tools.) to enable the Developer Tools.
    2. From within the developer tools click on the Network button. If it isn't already, enable it for the session or always.
    3. Click the "XHR" sub-button.
    4. Initiate an AJAX call.
    5. You will see items begin to show up in the left column under "Resources".
    6. Click the resource and there are 2 tabs showing the headers and return content.
    0 讨论(0)
  • 2020-11-22 09:06

    Open up your DevTools and press F1 to access the settings. Look for the console section and check the checkbox for "Log XMLHttpRequests".

    Now all of your ajax and other similar requests will be logged in the console.

    I prefer this method because it usually allows me to see everything that I'm looking for in the console without having to go to the network tab.

    0 讨论(0)
提交回复
热议问题