Developing mobile web applications is not so different and harder than developing standard websites. Even, considering the better support for the new HTML and CSS tags, it is sometimes easier.
However, debugging them is pretty hard as many features for that process doesn’t exist like viewing source code or JS errors generated by the mobile browser.

Socketbug Mobile Web Applications has been growing at a tremendous rate. Mobile Application Developers, while able to produce amazing applications, are limited by the native browsers own limited functionality. Basic features available on desktop browsers are completely absent from mobile browsers. The ability to view source code, debug javascript, or even execute a javascript command from a console are all tools developers have come to expect while developing websites.
Socketbug, a remote debugging tool built with Node.js and Socket.io, brings a working solution to this issue.
It auto-determines what communication transport to use and enables your mobile application to send/receive messages from other connected devices (mostly mobile in this case) to your desktop browser.
The usage is not so complicated as well, you just need to setup the Socketbug server, connect to it (a console exists for connection) and insert a JavaScript code to your mobile application.
Requirements: Node.js
Compatibility: Windows, Mac & Linux
Website: http://www.socketbug.com/
Download: https://github.com/manifestinteractive/socketbug