If the developer options are unlocked on the Xiaomi smartphone, USB debugging can be enabled, which is necessary if the user wants to root the smartphone. This feature is also required by the MyPhoneExplorer application to synchronize contacts.

Note: We recommend to enable USB debugging only if it is used or needed.

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Additional settings
Step 3:  Tap on  Developer options
Step 4:  Enable or disable  USB debugging
Step 5:  Tap on  Accept
  1. Open the Settings
  2. Tap on Additional settings
  3. Tap on Developer options
  4. Enable or disable USB debugging
  5. Tap on Accept

Xiaomi Instructions