admin管理员组文章数量:1345090
new iOS 6 feature is, that you can debug html and javascript running on device or simulator in desktop safari. I suppose, that this feature is based on Webkit Remote Debugging Protocol.
How can I connect to webkit running on iPhone without desktop Safari?
I can do this for mobile Chrome running on Android using websockets, but how can I do that for iOS devices?
new iOS 6 feature is, that you can debug html and javascript running on device or simulator in desktop safari. I suppose, that this feature is based on Webkit Remote Debugging Protocol.
How can I connect to webkit running on iPhone without desktop Safari?
I can do this for mobile Chrome running on Android using websockets, but how can I do that for iOS devices?
Share Improve this question edited Jan 11, 2013 at 21:33 Frank van Puffelen 600k85 gold badges890 silver badges860 bronze badges asked Jan 11, 2013 at 14:48 JanJan 4101 gold badge7 silver badges15 bronze badges 3- weinre works for iOS devices; I use it via Chrome on a Linux machine to debug Android and iOS both. – Pointy Commented Jan 11, 2013 at 14:56
- ... well when I say it "works", I mean it functions up to the limits of its abilities. – Pointy Commented Jan 11, 2013 at 14:56
- possible duplicate of Debug iOS 6 Safari using latest Chrome DevTools – Yogesh Suthar Commented Jun 5, 2013 at 4:26
3 Answers
Reset to default 4The ios-webkit-debug-proxy project (from Google!) does this.
You want to look at this code https://github./leftlogic/remote-debug/tree/master/safari - although it fails when it actually es to RPC calls that use __rpc_forwardSocketData.
If you've got any ideas why several of us are interested!
You need to open up the iPhone Simulator and browse to a website.
Then open Safari and choose "Develop" from the menubar. There is a the option called "iPhone Simulator".
If you hover over this you can see all of the open websites of the simulator.
This gives you the same inspector Safari uses. You can even see hovered elements in the iPhone Simulator.
本文标签: javascriptHow to connect to iPhone39s webkit debuggerStack Overflow
版权声明:本文标题:javascript - How to connect to iPhone's webkit debugger? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743789663a2539330.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论