Debugging native mobile applications
As we mentioned before, the debug method in the mobile paradigm is not very different from the reactive web paradigm.
Thus, and in order to simplify the transfer of knowledge, in this section, we will focus on the differences compared to what we saw in the previous section.
Basically, we can debug mobile applications in two ways:
- Emulate the mobile app using the Google Chrome browser on your PC: Use the Chrome browser on your PC to debug your mobile app if you don't need to execute native plugins, as the native plugins can't run on PC. This option is very good to test the logic of the app. However, to check the performance or experience of the mobile app, test your app on a mobile device.
NOTE: Don't forget that if your application depends on native Cordova plugins, you won't be able to test in the web context.
- Install the mobile app on a device: We can test the mobile app directly on a device as...