1. First, open the desktop of Huawei mate30pro and click Settings
2. Click on About Phone, and click on the version number 5 to 7 times to open the developer mode
3. Then go back to the previous level and click System and Update
4. Click the Developer option and turn on the usb debugging switch below.