Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49189

How to debug on mobile devices?

$
0
0

@claudiocarmeli wrote:

Hello,
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.

Best,
Claudio

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>