When my app has a bug, I usually do
inspect element then I look at the console and I can see what I
console.log in the code.
How can I do the same for when I am testing on an actual device?
I read that I can do
adb logcat | grep -i "console" and then see all my
console.logs from the code. It sort of works but all I can see is
[INFO:CONSOLE(13)] "[object Object]" regardless of what I log, it could be a string and it would still give me that. Not too useful.