请求监控在Chrome [英] Request Monitoring in Chrome

查看:246
本文介绍了请求监控在Chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Firefox中,我使用Firebug,让我查看我的Ajax调用使每个HTTP请求。我切换我的发展,Chrome和我喜欢它至今。我唯一​​的抱怨,然而,就是在开发工具似乎没有允许您查看每一个Ajax请求。我已经受够了发生一次,其中资源面板显示多个请求相同的资源,但它只做了一次,再也没有。

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.

有没有一种方法能可靠地看到,页面是从内部镀铬使得通过javascript每个HTTP请求?

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

目前,要解决这个问题,我跑提琴手旁边的Chrome浏览器来查看我的要求,但如果有一种方法来在浏览器内做到这一点,我想preFER了。

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.

推荐答案

我知道这是一个古老的线程,但我想我会附和

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

Chrome浏览器目前拥有内置的解决方案。

Chrome currently has a solution built in.

  1. 使用CTRL + SHIFT + I(或浏览到当前页面控制>开发>开发工具,在新版本的Chrome,点击扳手图标>工具>开发工具),使开发人员工具。
  2. 从开发工具中点击网络按钮。如果是没有准备好,使之为会话或始终。
  3. 点击XHR子键。
  4. 在启动一个AJAX调用。
  5. 您将看到项目开始下的资源,以显示在左边的列。
  6. 单击资源并有2个选项卡显示标题和返回的内容。

这篇关于请求监控在Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆