In Chrome, how can I see what AJAX requests are being made?
In Chrome, how can I see what AJAX requests are being made?
In Firefox I use Firebug and I can see any backgroun开发者_高级运维d AJAX request that are made.
Open the developer tools with Ctrl-Shift-i, or via the menu at Wrench/Tools/Developer tools:
Click on the Network Tab:
Click on the "XHR" link at the bottom of the list to filter the results to only AJAX requests:
Click on a request at the left to select it and use the "Headers", "Content", "Cookies" and "Timing" tabs for that request to see more details:
You can use the button in the bottom left of the tools to open the tools in their own window if you like.
Here's what works for me on Linux and Windows 10:
F12
to open developer tools- click on the network tab on the top list,
- select XHR (it's circled in image below)
you can also use liveHTTPHeader, a chrome/firefox extension. it works pretty well.
In new Chrome browsers you can press F12 key or CTRL+SHIFT+I key combinations to view the Developer Tools. From there AJAX/XHR calls can be viewed through Network tab.
精彩评论