While we can use the Ionic view app to see the output of our app and share the app with others to get feedback, but we cannot debug errors during the development on the actual app using this method.
We have to approach testing on actual devices by connecting our devices to development machines using USB and deploying debug builds to enable debugging. The process for making debug builds and running them on iOS and Android are different. We will discuss the method for both in this section.
In Android, the most basic step is to enable USB debugging in your Android device. The detailed steps are: