How to debug on iphone?

I use ionic serve ,it shows correct in chrome.

when i build and run on iphone , it does not work correct

how to debug that?

no error logs on xcode

thanks

You can use developer menu on safari to debug javascript on device.

  • Enable web inspector on device
  • Enable developer menu on safari
  • Start debug via developer menu on safari

You can find instructions for ios devices here

1 Like