Go to Settings and scroll to the System section (on Android 8 and above, go to Settings > System)Tap Developer Options.Tap the button to toggle developer options Off. USB Debugging is included in the Developer Options.
Why is debugger popping up?
The most common causes for program or system crashes include corrupted files, corrupted Registry keys, and program incompatibility issues. The debug file may pop up on the desktop after an app or program crashes. It’s not exclusive to Windows 10 system crashes.
How do I remove debugger from my phone?
it may be, you have multiple users on your device, just go settings->Apps->Select your app->open the context menu on the right and type uninstall for all users.