user1452076
user1452076

Reputation: 127

How to debug or check console on iPad for Phonegap application?

I'm having an odd issue. I've developed a Phonegap application. I can run it fine on the iOS Simulator on the Mac. If I run it on an iPad using Xcode's "Run on iOS Device" mode, it runs fine. However, when I generate an .ipa file for deployment and install it on the iPad, it has some problem. It runs, but looks like it's encountering an error somewhere.

So my question is; is there any way to be able to try to look at the console messages so I can see where the problem is?

Thanks in advance!

Upvotes: 0

Views: 185

Answers (2)

Mati Tucci
Mati Tucci

Reputation: 2976

I always debug my Phonegap iOS apps using the Safari console (example)

Using Safari inspector you can edit CSS, debug Javascript and see the logs.

Upvotes: 0

jrtc27
jrtc27

Reputation: 8526

Open the console in the organizer for your device to find any logged messages.

Upvotes: 2

Related Questions