Debugging console for stand-alone web app on iOS [duplicate]

廉价感情. 提交于 2019-12-22 08:43:30

问题


When testing my web app on the iPad, I can enable the debugging console of Safari Mobile and happily read my logging output. I can not find a way to do the same for a stand-alone app, meaning the web app was "added to the home screen" and the window.navigator.standalone flag says true, but there is no "Debug Console" banner at the top like there is inside Safari Mobile.

I have a bug that only happens in stand-alone mode and am almost ready to add a little debugging console to my web app, or worse, go to the dreaded alert debugging method.

So, SO, any awSOme ideas?


回答1:


use http://www.iwebinspector.com - only for ios5 and up though..

for ios6 you can use safari6 and remote debugging http://moduscreate.com/enable-remote-web-inspector-in-ios-6/

if you are not on mac or want true remote debug, you can use jsconsole.com



来源:https://stackoverflow.com/questions/9071022/debugging-console-for-stand-alone-web-app-on-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!