PhoneGap Emulator and Remote Debugging

The biggest pain I experienced when I worked on building the PhoneGap application is the following cycle: 1. Develop an eclipse/xcode or irrespective IDE 2. Compile and put the binary executable on device/emulator 3. Test PhoneGap application on device/emulator 4. Tweak code and repeat from step 1