iOS6 - 删除了 iPad 的控制台日志 - 如何在 Windows 上使用网络检查器? [英] iOS6 - removed console log for IPad - how to use web inspector on windows?
问题描述
所以 iOS6 出来了,糟糕.现在,似乎 Apple 已经删除了 Safari 中曾经存在的开发者控制台".太好了,我听到很多人说 - 它是有限的.
So iOS6 is out, horrah. Now, it appears as though Apple have removed the 'Developer Console' that used to exist in Safari. Great, I hear a lot of people say - it was limited.
但是,它可以在设备上运行 - 现在显然您必须将设备连接到 Mac 才能获得网络检查器?
But, it works on the device - now apparently you have to connect the device to a Mac to get web inspector?
这是使用控制台进行调试的唯一方法吗?有没有办法用windows、safari进行调试?请注意,我的意思不是仅更改用户代理,您可以在 Safari Windows 上执行此操作 - 不注册触摸事件 - 只需单击即可.
Is this the only way of debugging with console? Is there a way of debugging with windows, safari? Please note, I don't mean just changing user-agent, which you can do on Safari Windows - that doesn't register touch events - just click.
推荐答案
如果您没有 Mac OSX,您可以使用此脚本作为控制台替换:
If you don't have Mac OSX you can use this script as console replacement:
https://github.com/robotnic/waterbug
它显示错误消息,可以记录所有类型的变量,您必须将 iPhone 或 iPad 向右旋转 90° 才能打开控制台.
It shows error message, it's possible to log all kind of variables, you have to turn your iPhone or iPad 90° to the right to open the console.
这篇关于iOS6 - 删除了 iPad 的控制台日志 - 如何在 Windows 上使用网络检查器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!