Debug the app on mobile


#1

Hi,
I need to be able to see the consol.log outputs when the app is running on mobile device(As we are able to see in case of sencha touch app when we run it from Eclipse ADT).

Is there any pointers on how to do it, at least is it possible to save the logs in a log text file ?
Thanks.


Problem on Android device - how to debug?
#2

Hi, I think you can use http://app.phonegap.com/ or https://build.phonegap.com/


#3

For Android version 4.4 + you can try -

http://phonegapblog.blogspot.com/2014/01/phonegap-re-android-44-and-webview-debug.html
http://www.thedumbterminal.co.uk/?action=showArticle&articleId=180

For Android version < 4.4 you can try -

https://www.jshybugger.com/#!/download


#4

For Android version 4.4 you can use chrome with adb plugin


#5

for android apps:

install your device driver to debug your device with chrome-device-debugging:
Chrome -> settings -> tools

for apple devices:
you need a mac -> open safari there you will find your connected device


#6

For Android 4.4 & Chrome 39, it is now under More Tools > Inspect Devices.
Or just bookmark this URL
chrome://inspect/#devices