For the most part when working with PhoneGap, debugging is as simple as loading your project’s www directory in your browser/simulator. But sometimes you need to debug the PhoneGap API calls. Well, it turns out you can… sort of.
I recently started doing some iPhone dev with PhoneGap. I’m using the Simulator included with Xcode and the iPhone SDK because it makes debugging faster and easier than an actual iPhone, and also I don’t have an actual iPhone. I do have an iPod Touch, but it’s lacking a lot of the features that make mobile apps cool, so I’m stuck with the Simulator for now. At any rate, I realized quickly that having a facility to browse the Safari-created SQLite databases would simplify my life profusely.