How to check the console of an Ionic app running on your smartphone

Asked

Viewed 137 times

0

How do I open the console of an application running on a device? I’d like to review the logs I put in the app.

1 answer

1


You can use Chrome to scan the console, debug the app, and other features.

If you prefer to use a physical device instead of an emulator you need to enable developer mode and enable USB debugging.

Open the Google Chrome and in the address bar type the following path:

chrome://inspect

Then a page similar to this will be displayed:

inserir a descrição da imagem aqui

On this page below the title Remote Target all devices that are connected to the PC will be displayed, in my case I am using an emulator. To be able to view the console and inspect the app just click on inspect and a new page will open, it will display the app in a "mirror" way and on this page we can have access to the console and other features:

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.