Options to test an app ionic

To test an ionic app I tried these options:

  1. ionic serve
    In the local browser get errors “cross-origin HTTP” and plugins do not work
  2. Build and run the apk in an emulator (android)
    I have no console browser to view runtime errors.

What other forms of testing with debug exist? Any way to solve the problems mentioned above?

Thank you for your help.

Found one more:

  1. Run emulator and debug in chrome:


Works! Thanks

  1. Run on actual device and use debug in chrome, might work with DDMS tools on Eclipse