查看Chrome开发工具AJAX响应内容? [英] View AJAX response content in Chrome developer tools?

查看:329
本文介绍了查看Chrome开发工具AJAX响应内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

传统上我用萤火我的AJAX请求调试。它可以让你检查你的要求的两个内容,以及所发送从服务器返回的响应。 (它还会通知您在控制台当这些发生时,这是一个非常有用的功能,Chrome浏览器似乎缺乏)。

Traditionally I use FireBug to debug my AJAX requests. It lets you examine both the contents of your request as well as the response that was sent back from the server. (it also notifies you in the console when these occur, which is a useful feature that Chrome seems to lack).

在铬,我只似乎能够查看请求,而不是响应。当我尝试检查用户界面只显示没有内容可用(开发工具>资源> myRequest.php>内容)的响应。我必须把东西做的Chrome开发者工具记得这些要求?

In Chrome, I only seem to be able to view the requests, not the responses. When I try to examine the response the UI just displays "No Content Available" (Developer Tools > Resources > myRequest.php > Content). Do I have to turn something on to make the Chrome developer tools remember these requests?

编辑:如果它的事项,正在这些请求Flash对象内

In case it matters, these requests are being made inside a Flash object.

推荐答案

的Ajax响应的内容是不可见但如果是由一个插件生成请求。 有一些机会,这个问题将被很快固定。

The content of ajax responses is not visible yet if the request is generated by a plugin. There is some chance that this problem will be fixed soon.

这篇关于查看Chrome开发工具AJAX响应内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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