views:

1361

answers:

2

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 only complaint, however, is that the developer tools don't seem to allow you to view each ajax request. I've had it happen once where the Resources panel showed multiple requests to the same resource, but it's only done it once and never again.

Is there a way to reliably see every http request that a page is making through javascript from within Chrome?

[Edit:11/30/09 11:55]

Currently, to get around this, I'm running Fiddler next to Chrome to view my requests, but if there's a way to do it from within the browser, I'd prefer that.

+1  A: 

You could use Fiddler which is a good free tool.

JoshBerke
Yea, I have Fiddler which is what I'm using to do this. Just looking for a way to do it from within the browser, as it's a bit more convenient.
Wes P
Ahh ok can't help with that I am sorry good luck
JoshBerke
+5  A: 

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) to enable the Developer Tools.
  2. From within the developer tools click on the Resources 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.

Hope that helps.

Phil

Phil
Thanks Phil! I had put this aside and been relying mostly on Fiddler. But that XHR button is what I was looking for :D
Wes P