Debug Ionic app on IOS?

后端 未结 5 579
予麋鹿
予麋鹿 2020-12-04 16:22

My HTML5 app is packaged by Ionic (using Cordova) and loads onto my iPhone like a normal app.

Can I debug whilst connected to the device? I know with Android you hav

5条回答
  •  自闭症患者
    2020-12-04 17:19

    Similar to the first answer, here's how I debug on iOS.

    ionic emulate ios -lc
    

    Which runs app using simulator and outputs console logs and errors to terminal with live reloading.

提交回复
热议问题