Wireless debugging for Android

One of those things I need to do intermittently and end up having to look up each time.

  1. Connect the phone via USB and make sure it shows up with adb devices.
  2. Start the tcpip server on the phone adb tcpip 5555
  3. Run adb connect device-ip-address
  4. Disconnect the USB cord and voilà! Debug away without pesky wires getting in the way.