Debuging android application over adb without USB cable.
Steps:-
1 . Install the ADB Wireless app from play store using this link https://play.google.com/store/apps/details?id=za.co.henry.hsu.adbwirelessbyhenry&hl=en
after the install ADB wireless app clik on Show wifi IP.It shown your mobile IP address over the wifi.
Now find your IDE path ex.
Eclipse:- D:\adt-bundle-windows-x86-20131030\sdk\platform-tools
Android Studio:- D:\Android Studio\sdk\platform-tools
press Window + R key
type cmd
change the directory C:\users\admin> to your IDE path ex. D:\Android Studio\sdk\platform-tools.
Connect your device with usb (only first time)
type adb devices
it show the connected device list with alphanumeric id.
type adb tcpip 5555
remove usb cable
type adb connect your_mobile_ip:5555
here your_mobile_ip means ADB Wireless show mobile IP.
ex. adb connect xxx.xxx.x.xxx:5555
Now go to your Android studio and edit some thing.
go to run -> Edit configuration -> your app name in your Run/Debug Configuration window come to the Target device panel ->choose show chooser dialog. click apply-> ok.
adb disconnect xxx.xxx.x.xxx:5555
for disconnecting your device.
I hope this will help you