How to connect to iPhone's webkit debugger?

只愿长相守 提交于 2019-12-04 08:35:12

The ios-webkit-debug-proxy project (from Google!) does this.

You want to look at this code https://github.com/leftlogic/remote-debug/tree/master/safari - although it fails when it actually comes 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.

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