iOS设备上的remote console.log() [英] Remote console.log() on iOS devices

查看:133
本文介绍了iOS设备上的remote console.log()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发涉及touchEvent的网络应用程序。如果我可以在我的Mac上远程查看控制台,将会更容易调试。

I am developing a web app that involves touchEvent. It will be much more easier to debug those if I can view the console remotely on my Mac.

我可以在iOS设备上使我的移动Safari存储控制台日志吗?在系统中。我已经越狱了我的iPad。

Can I make my Mobile Safari on the iOS device store the console log somewhere in the system. I have already jailbreak my iPad.

谢谢!

推荐答案


  1. 将iphone插入计算机

  2. 设置> safari>高级> web检查器(打开)

  3. 在您的计算机上打开safari

  4. 在您的电脑上的Safari浏览器中的Safari浏览器中运行您的网络应用程序

  5. ,开发>可检查的应用程序,您运行的应用程序应该在这里。

  1. plug iphone into computer
  2. settings > safari > advanced > web inspector (turn on)
  3. open safari on your computer
  4. run your web app on your iphone in the safari browser
  5. on your computer in safari, go to develop > inspectable applications, your running app should be in there.

执行这些步骤可以使桌面上的safari调试工具反映并回复所连接的iphone。

doing these steps enables the safari debug tools on your desktop to reflect and respond to the connected iphone.

希望有帮助。

这篇关于iOS设备上的remote console.log()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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