Windows上的Safari远程调试 [英] Safari Remote Debugging on Windows
问题描述
随着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?
-
适用于iPhone的漂亮Safari开发者工具需要Safari 6,即它们在Windows上不可用。 没有计划使用Windows版本的Safari 6,或者正如Apple所说:Safari 6适用于Mountain Lion和Lion.Safari 5仍可用于Windows。 ( http://en.wikipedia.org/wiki/Safari_%28web_browser%29# Safari_6 )
如果您的本地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调试代理 可能会提供类似的功能,使用Chrome代替Safari一天: https://github.com/google/ios-webkit-debug-proxy * Windows支持已计划但尚未实施。
- 使用 jsconsole 进行远程调试: http://jsconsole.com/remote-debugging.html 不安全AT ALL用于制作(阅读警告,不要在prod中使用)但非常方便。
- 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屋!