How to connect to iPhone's webkit debugger?
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? 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