I got a new Huawei mobile phone P30, and after a while, I can finally debug it.
- Settings, about phone, version number, click continuously. Turn on developer mode.
- System and updates, developer options. Developer options, open; USB debugging, open.
- Open the port. Specific reference: