How to watch console.logs in ionic emulator?

前端 未结 6 1106
别那么骄傲
别那么骄傲 2021-02-01 14:33

I\'m building an app using the Ionic framework, which I\'ve done in the browser until now. Because I now want to use the cordovaOauth plugin I need to use the emulator. The prob

6条回答
  •  感动是毒
    2021-02-01 14:40

    On Ionic 3, you can do this by

    ionic cordova run android --emulator -l -c
    

    Replace android with ios depending on your requirements. More information here: https://ionicframework.com/docs/cli/cordova/run/

提交回复
热议问题