visual-studio-2015 - 在 Visual Studio Cordova 中调试时如何查看网络流量

标签 visual-studio-2015 visual-studio-cordova

我正在使用 Cordova 的 VS 工具通过 iPhone 上的远程设备运行我的应用程序(使用 vs-mda-remote 从 mac 构建/部署)。我看到有 DOM Explorer 和 Javascript Console,可以让我完成调试所需的大部分操作。

但是,我找不到一种查看网络流量的方法。我看到 Javascript 控制台显示

Failed to load resource: the server responded with a status of 400 (Bad Request)  MyApiCallEndpoint(0,0)

如何从 Visual Studio 中更详细地检查此请求/响应(或者如果无法从 VS 中检查)?

最佳答案

我们最近向 VS 添加了一个新的网络分析器 ( details here ),但它目前不支持在 Android 或 iOS 上运行的 Cordova 项目(我注意到您的隐式请求!)。同时,我们建议使用 Fiddler(这通常是一个很棒的工具)并将您的设备配置为作为代理连接到它( details here )。这将让您查看您的应用产生的所有流量。

关于visual-studio-2015 - 在 Visual Studio Cordova 中调试时如何查看网络流量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30488224/

相关文章:

c# - CA1303 从资源表中检索以下字符串而不是 : "Service Started"

visual-studio-cordova - Visual Studio Cordova 排除文件

phonegap-plugins - 添加 com.phonegap.plugins.facebookconnect 后 Visual Studio 构建失败

visual-studio - 如何在 Visual Studio 中查看线程窗口?

ios - Cordova visual studio ios 代理配置

visual-studio - Apache Cordova Visual Studio 2015 项目中 taco.json 的用途是什么?

javascript - 使用 Apache Cordova for Visual Studio 进行身份验证

visual-studio-2015 - Visual Studio 上下文菜单 - 注册程序集

c# - 加里奥.Model.ModelException : An exception occurred while invoking a test driver

c# - 覆盖应用程序根 URL 的真正作用是什么?