Tutorial :Any way to debug javascript on Android devices?


Are there any means of debugging JS code, or at least get errors, on Android devices?


This helps:


There are Firebug like methods (e.g. console.debug, console.info) that will log to logcat, so you can snoop there.

In my testing I'm getting logs to W/browser, not D/WebCore, but the info is being logged there.


Error messages should show up in the log with the WebCore tag.

Answered previously.


As it says http://www.technomancy.org/android/javascript-debugging/ you use can use console.log(...) to log messages, and then install a log viewer to view the logs if you filter based on browser (at least on Android 2.2)

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »