How to Debug with your device over WIFI
-
Connect the device via USB and make sure debugging is enabled.
-
Run
adb tcpip 5555
-
Find the IP address
MACOS: adb shell ip route
WINDOWS: adb shell netcfg
-
Connect to your device
adb connect <DEVICE_IP_ADDRESS>:5555
-
Disconnect USB and proceed with wireless debugging.
EXTRA: To switch back to USB when done:
adb -s <DEVICE_IP_ADDRESS>:5555 usb
No root required.