This is where Socketbug fills the gap! Socketbug is a Remote Debugging Utility built using Socket.IO. This means you can now use modern browsers ( both mobile and desktop ) to work together to allow you to remotely debug you mobile web applications.
The following text is taken from Socketbug website.
Socketbug is built on top of Node.js using Socket.IO (currently v0.7) as the main backend for communication. Socket.IO automatically determines what communication transport to use and enables your mobile application to send/receive messages from other connected devices.
To use Socketbug you will need to install the server code in a central location that will be accessible by all devices that will be sending or receiving data. This can be anything from your laptop/desktop, or a remote server. There are no Cross Domain issues to worry about so you do not have to have Socketbug installed on the same machine that your mobile application is installed on.