Remote debugging alternatives
Clone this wiki locally
Currently remote debugging is fairly new and I wanted a place to document all the other solutions and proposed solutions to help fix this hugely annoying issue.
All your DOM are belong to us!
Here's some projects and solutions I have across that allow you to do remote debugging on external devices.
Remy has done some great screencasts showing how to set it up and use it.
I've also done a screencast showing how to use my version.
What are the browser vendors doing to solve this?
Firefox (and other Gecko-based projects) have a debugging server component that can be used.
The Firebug project's attempt to add remote debugging functionality for firebug this looks quite promising.
The firebug blog has released a paper on the crossfire protocol.
Google has a solution for remote debugging by allowing the developer tools to connect to seperate Chrome instance and create a WebSocket connection that passes JSON messages. They have even got an early stage protocol for a standard way of communicated JSON ecoded messages.
Starting Chrome with the
--remote-debugging-port=9222 flag will allow you to remotely debug any webpages opened in that browser instance. This allows you to do anything the built in dev tools can do remotely including code breakpoints.
Using the new decoupled Debug API, that can send instructions over a network, a Firefox mobile developer has done a blog post looking at an early look of remote debugging.
Android 4+ has added the ability to do remote debugging via a USB cable in Chrome Android.