At Stix , we've been porting our web client to PhoneGap over the past 4 months. True to the focus principle of the Lean Startup approach, we've been focusing on iOS as the target. While we've had to work at several obstacles, like graphic performance and responsiveness, the biggest challenge by far was debugging. We have gotten used to working with the awesome WebKit Web Inspector (A.K.A Chrome Developer Tools), with conditional breakpoints, DOM and CSS inspection, and the console. Switching to working with an iOS device or simulator, these capabilities were sorely missed. Here is a brief overview of our current debugging approach. Chrome Yes, you can run a PhoneGap app in Chrome. There are few obstacles to overcome, but it's definitely worth it. The first obstacle is that Chrome has a relatively restrictive cross-origin policy. Even the simplest PhoneGap apps will run into problems trying to include js and css files from the file:/// protocol, not to mention trying to...
Comments