How to check the errors that generated in the android emulator for ionic

In my ionic project, I have not found any errors( i got to know when I ran the command ionic serve ). I think I getting some errors while performing some operation. I’m running it in the emulator. How can I check the errors that occur while running the app in the emulator?