It would be nice to be able to reuse all the Web Inspector stuff to enable debugging a remote web browsing session. One use case is mobile, for instance, debugging a browser session on an iPhone, Android, Palm, etc sort of device.
The basic idea is that the remote browser would need to have a gesture to enter debug mode, and would need to provide an address to the machine running the debug client which will actually be displaying a Web Inspector window. Presumably, the debug client is just a WebKit-consuming web browser. It would need a way to indicate it was willing to accept debug connections (or perhaps connect TO a remote session) from a debug target. Once connected, Web Inspector would work as it does today for a local window, but be proxying the work to the debug target running remotely.
We can use Zeroconf to discover debuggable devices. Not sure a gesture is needed, just a setting would do…
I'm not up on my ZeroConf stuff; seems like it would be nice to be able to avoid having to coordinate hostname/port #'s in different places. Just wondering if it's available everywhere. Is there something shipped in WebKit that already does ZeroConf?
Yes Zeroconf (known as Bonjour in Apple land) handles discovery of service addresses and ports based on a service name (like ssh, ftp, http, web-inspector, etc.)
No, we don't use Zeroconf/Bonjour in WebKit currently.
I have a prototype of remote Web Inspector connected to the InspectorBackend via HTTP.
Old bug. Done?