Update: I’ve written a small Python script to make the output easier to read. Read more about DroidLog.
Whilst debugging PhoneGap Apps/WebApps with Weinre is awesome, it does require your device/simulator to have a network connection to work. Most of the time this is not a problem but if/when you need to test how your app functions offline it becomes an issue.
Here’s an alternative solution I’ve found useful for monitoring console.log
& console.error
output from within the Terminal:
adb logcat | grep 'Web Console'
Hopefully this will be useful to a few others!
Pingback: DroidLog – A console/error log for Android PhoneGap apps » Joe Lambert