Because phonegap applications are compiled into an apk and run ether on a mobile phone or in an emulator debugging is a lot harder.
Ripple is an extension for google chrome. It allows for hybrid mobile apps to be emulated in google chrome. It offers the ability to fire mobile events such as – volume up , volume down, app pause. The extension has a large number of devices to pick from.
Chrome has the ability to debug mobile apps while they are running on a mobile device debugging is done through a desktop. By connection your mobile phone to your desktop via USB and by visiting the following URL in chrome:
you can access the a console for any error logging, while the application is running on mobile phone.
During the development of my applications I have used all of these methods of debugging for many different reasons, and have proven very useful. Out of all the debug methods I found Google Chrome’s device debug the most effective because it allows me the run the application in its native environment, this also gives me the piece of mind that I’m not going to come across any bugs during deployment.