1
Method 1 (Android 11+): Enable Wireless Debugging in Settings
Open Settings > Developer options > Wireless debugging and turn it ON. Tap "Pair device with pairing code". Note the IP address, port, and 6-digit code.
Cut the cord and debug your Android device wirelessly over your local Wi-Fi network using Android 11+ pairing or TCP port 5555.
Open Settings > Developer options > Wireless debugging and turn it ON. Tap "Pair device with pairing code". Note the IP address, port, and 6-digit code.
Run `adb pair <IP>:<PORT> <CODE>` on your computer.
adb pair 192.168.1.100:37129 829104
Run `adb connect <IP>:<CONNECT_PORT>` using the main wireless debugging IP and port shown on the main Wireless Debugging screen.
adb connect 192.168.1.100:41295
Plug in USB cable, then switch daemon to TCP port 5555.
adb tcpip 5555
Unplug the USB cable and run `adb connect <PHONE_IP>:5555`.
adb connect 192.168.1.100:5555