Skip to content
Advertisement

How to see errors from an ionic app from my device

Fellows I have made an app by using ionic framework.

When I run

ionic serve

On the terminal it runs as it should be. But when I run it via:

ionic run

I see on the device the app running by displaying the ionic’s loading screen, but after that it does not run as it should be.

What I am asking is how can I see – debug any sort of error from the app running on the device in order to figure out what’s wrong?

I am using an Adroid device for the tests.

Advertisement

Answer

I fixed it by running:

adb logcat | grep 'Web Console'

On a linux terminal / git bash

Advertisement