I'm studying new Cordova 5.0. I'm using Sublime Text. So I'd like to use adb from command line to logcat to debug javascript errors.
do you know wich combinations of parameters to use?
I tried
adb logcat *:S CordovaLog:D
as seen in a blog, but in case of JS no line appears
Also, I tried this, taht could be what I'm looking for
adb logcat SystemWebChromClient:D
but in this case it logs everythings, not only the rows of DEBUG type from SystemWebChromClient.
What am I doing wrong?
After try and retry and retry ...
The solution was to mix my previous two attempts and fix a typo (missing letter 'e'
in the word "Chrom"
of "SystemWebChromeClient"
). So this works
adb logcat *:S SystemWebChromeClient:D