Use chrome dev tools, write chrome://inspect/#devices in chrome address bar and hit enter. The second method will not only allow you to see console logs but also inspect elements and network monitor, the same way you do with websites. Note: Your device and computer should be on the same network, plus keep mobile connected with computer via USB port. ![]() (You can see in the above image, after building application into device, all logs are shown in command line window.) See the following screenshot for visual understanding. For more details, please take a look at this documentation. ![]() And all console logs are shown in command line window while application is running in device, as you can see -c parameter in command, that is to show consoles while -l reloads application on any change in source. It runs application in your device but all resources are loaded from computer with liver reload. When you run application in your device with the above command, it acts in the same way as when you run application on browser with ionic serve.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |