Version: v5On this pageionic capacitor runRun an Ionic project on a connected deviceionic capacitor run [options]ionic capacitor run will do the following:Perform ionic build (or run the dev server from ionic serve with the --livereload option)Copy web assets into the specified native platformOpen the IDE for your native project (Xcode for iOS, Android Studio for Android)When using the --livereload option and need to serve to your LAN, a device, or an emulator, use the --external option also. Otherwise, the web view tries to access localhost.Once the web assets and configuration are copied into your native project, the app can run on devices and emulators/simulators using the native IDE. Unfortunately, programmatically building and launching the native project is not yet supported.For Android and iOS, you can setup Remote Debugging on your device with browser development tools using these docs.Examples$ ionic capacitor run$ ionic capacitor run android$ ionic capacitor run android -l --external$ ionic capacitor run ios --livereload --external$ ionic capacitor run ios --livereload-url=http://localhost:8100InputsplatformDescriptionThe platform to run (e.g. android, ios)Options--sslDescriptionUse HTTPS for the dev server--no-buildDescriptionDo not invoke Ionic build--no-openDescriptionDo not invoke Capacitor open--externalDescriptionHost dev server on all network interfaces (i.e. --host=0.0.0.0)--livereloadDescriptionSpin up dev server to live-reload www filesAliases-l--livereload-url =<url>DescriptionProvide a custom URL to the dev server--prodDescriptionFlag to use the production configurationAdvanced Options--consolelogsDescriptionPrint app console logs to the terminal--consolelogs-port =<port>DescriptionUse specific port for console logs server--host =<host>DescriptionUse specific host for the dev serverDefaultlocalhost--port =<port>DescriptionUse specific port for the dev serverAliases-pDefault8100--public-host =<host>DescriptionThe host used for the browser or web view--configuration =<conf>DescriptionSpecify the configuration to use.Aliases-c--source-mapDescriptionOutput source maps--watchDescriptionRebuild when files change