I would like to know the current status about accessing console.log() messages while running on a emulated device. So far I’ve read everything I found on internet about this issue, but nothing seems to work on Ionic4. Currently, I’ve tried with these commands:
ionic cordova emulate android -c ionic cordova emulate android -l ionic cordova emulate android -lc ionic cordova emulate android -l -c
And tried to access log messages using
adb logcat. Chrome inspect actually sees the app running on the emulator, but when I press the “Inspect” link, a blank window appears and no info ever appeared in there. Logcat actually show console logs but along of A LOT of other messages that makes very hard to find the one you are interested in, and it doesn’t show json objects.
Am I missing something? Debugging without access to console messages its really hard, as I am sure you already know.