I'm using Chrome Dev Tools to debug my application, but I have to go through alerts()
which are a burden, said alerts being popped up o the screen of the phone. But how to show console.logs
? They don't seem to work!
I tried several approaches with no success
cordova run android --device --debug --consolelog
cordova run android --device --debug -cl
cordova run android --device --cl