To prevent Flutter from uninstalling and reinstalling the app every time you run flutter run
, try these:
Connect your device to the device where Flutter is installed, then open the command prompt and run the flutter logs
command. After that, launch the app you want to debug.