在iPad模拟器中调试Web应用程序 [英] Debugging web app in iPad Simulator

查看:175
本文介绍了在iPad模拟器中调试Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为iPad开发一个网络应用程序,并在Mac上的Safari和iPad模拟器上的Safari上进行测试。现在iPad模拟器中的CSS存在一些问题,它们在Mac上的Safari中运行良好。
现在我的问题是,
在iPad模拟器中是否有适用于Safari的强大调试工具?

I am developing a web app for iPad and testing it on Safari on Mac and Safari on iPad Simulator. Now there are some issues with CSS in iPad Simulator which work quite well in Safari on Mac. Now my question is, Is there a powerful debugging tool for Safari in iPad Simulator?

推荐答案

注意:从iOS6开始,这不是进行远程调试的正确方法,出于历史原因留下这个答案,但你应该看一下Safari的远程检查,这里有一篇好文章: http://jeffreysambells.com/2012/09/22/ios-safari-web-inspector

Note: As of iOS6 this is not the correct way of doing remote debugging, leaving this answer for historical reasons but you should look into remote inspection with Safari, here is a good article: http://jeffreysambells.com/2012/09/22/ios-safari-web-inspector

看看这个,(我写的一个bash脚本) https://gist.github.com/2241976 。它将允许您打开iPad模拟器并运行Webkit的远程检查器,它看起来就像这样。

Have a look at this, (a bash script I wrote) https://gist.github.com/2241976. It will allow you to open the iPad simulator and run Webkit's remote inspector, which will look just like this.

这篇关于在iPad模拟器中调试Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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