These easy commands from Terminal on a Mac
To find the IP address of the device: run ./adb shell and then netcfg.
1.) adb tcpip 5555
2.) adb connect 192.168.1.102:5555
Disconnect USB and proceed with wireless debugging.
To switch back to USB when done
3.) adb -s 192.168.1.102:5555 usb