How to check the console of an ionic application running on your smartphone

0

How can I open the console of an application running on a device? I would like to review the logs that I put in the application.

    
asked by anonymous 22.11.2017 / 12:38

1 answer

1

You can use Chrome to analyze the console, debug the application, and other features.

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

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

chrome://inspect

Then a page similar to this will be displayed:

OnthispageundertheRemoteTargetheadingalldevicesthatareconnectedtothePCwillbedisplayed,inmycaseIamusinganemulator.Tobeabletoviewtheconsoleandinspecttheappjustclickoninspectandanewpagewillopen,itwilldisplaytheappina"mirrored" way and on this page we can have access to the console and other features:

    
22.11.2017 / 12:59