Many developers may have stuck in a situation without USB cable to connect their Android device to use ADB. Recently I came across a wonderful app which provides a option to connect ADB via WiFi. The Application is ADB Wireless. Just follow the simple steps to use ADB with WiFi.
Note: This Application works only on rooted devices. There are also some apps which works without root.
How to Use ADB via WiFi
1. Download and install ADB Wireless on rooted Android device.
2. Connect your PC and your Android device in same WiFi network.
3. Open ADB Wireless and Grant Superuser request.