撒拉嘿哟木头 2009-11-30 16:41 采纳率: 100%
浏览 339
已采纳

浏览器中的请求监视

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.

转载于:https://stackoverflow.com/questions/1820927/request-monitoring-in-chrome

  • 写回答

9条回答 默认 最新

  • 笑故挽风 2010-06-10 22:46
    关注

    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.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(8条)

报告相同问题?

悬赏问题

  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面