views:

1180

answers:

2

I'm developing a JavaScript application that needs to run on the Google Android Phone OS. Is there a way to enable the JavaScript Error/Debug console within Safari on either the Android Emulator or an actual device? If so any instructions on how to do so would be appreciated.

+4  A: 

A quick Google turns up this blog post (posted after you asked your question), that should at least let you see any Javascript errors via the Android Debug Bridge using the command:

adb logcat WebCore:V *:S

Not quite the same as a full debug console though.

andynormancx
+4  A: 

It looks like, with the Android 2.0.1 SDK you'll need to filter on "browser" instead of "WebCore"

thrusty