How do you keep the debugger from dying when your app is put on background? Every time I change the active app and wait a few seconds without bringing it back, the debugger accuses lost connection to the device
.
This is true either with a custom project or with a recently created project.
CodePudding user response:
I would suggest you to use an simulator for android or ios. Then you can tab out and tap in. Then it still has the app open even for longer times.
CodePudding user response:
it happens because the device doesn't have enough ram to keep the debug app open, you can test my answer by using a device having large ram of 4GB or more