Windows上的Safari远程调试 [英] Safari Remote Debugging on Windows

查看:579
本文介绍了Windows上的Safari远程调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随着iOS 6的发布,Apple实现了一项名为远程调试

With the release of iOS 6, Apple implemented a feature called remote debugging

客户自从安装新的iOS 6后我的webapp出现问题,我无法弄清楚这个问题。 缓存AJAX请求似乎不是问题,因为错误是随机发生的,问题不是(仅)结果仍然相同。

A client is having problems with my webapp since installing the new iOS 6 and I can't figure out the issue. It doesn't seem to be an issue with caching of AJAX requests, because the errors occur randomly and the problem is not (only) that results are still the same.

所以它必须是并行 AJAX-Calls

要识别问题并有效地修复它(而不是在黑暗中磕磕绊绊)我需要一个调试器。我很高兴看到有关远程调试功能但我无法使用它。

To identify the problem and efficiently fix it (instead stumbling in the dark) I need a debugger. I was happy to read about the remote debugging feature but I cannot get it to work.


  • 是否可以在Windows版本的Safari中使用远程调试?

  • 如果是这样,如何我激活它吗?

推荐答案

如何在Windows上调试Safari iOS?

How to debug Safari iOS when you're on Windows?

如果您的本地Web服务器(例如:XAMPP)已正确配置,则应该一旦连接到计算机,就可以从iPhone上访问它。但是,在Windows上,这也不起作用。

If your local web server (e.g.: XAMPP) is properly configured, you should be able to visit it from your iPhone once it's connected to your computer. However, on Windows, this does not work either.

替代方案:

  • WebKit Debug Proxy is likely to offer similar functionality using Chrome in place of Safari one day: https://github.com/google/ios-webkit-debug-proxy* "Windows support is planned but not implemented yet."
  • Use jsconsole for Remote Debugging: http://jsconsole.com/remote-debugging.html Not safe AT ALL for production (read the warnings, don't use in prod) but very handy.

希望这有助于某人。

这篇关于Windows上的Safari远程调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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