I am deploying debug builds to my android phone via ionic run android
.
How can I view console.log
messages?
When you deploy app to your android phone, you can show the error log in google chrome.
Steps by step instructions:
- Connect your device to your computer
- Run adb devices ("C:\Users\AppData\Local\Android\sdk\platform-tools") to display name of devices (you may not need this step)
- Run google chrome and type "chrome://inspect/#devices" .
- Choose "inspect" for your app.