Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

See Phonegap's console log in iOS devices

I'm writing a PhoneGap application, and it's already works on Android, but on iPhone something fails. What's even more unfortunate is I can't see the console.log outputs to see what's wrong. I can do alerts, but that's not sufficient as I can't catch the errors.

Under Android I see everything under the LogCat window. Is there anything similar in iPhone/ios?

Thanks.

like image 318
Svarog Avatar asked Jan 18 '23 11:01

Svarog


1 Answers

For web development on mobile I use Weinre for debugging. It redirects console.log to a remote debugging window, and should work with Phonegap.

like image 180
arnemart Avatar answered Jan 24 '23 15:01

arnemart