I have my android connected to my pc via a wifi hot spot. How do I enable usb debbuging through the adb ? What is the commands? What are the commands in ADB to enable USB debugging?
I have my android connected to my pc via a wifi hot spot. How do I enable usb debbuging through the adb ? What is the commands?
Enable developer options and USB debugging of your phone:

Open Settings, then select About.
Tap on Build number seven times.
Go back, and select Developer options.
Scroll down, and check the Android debugging or USB debugging entry under Debugging.
Plug your phone into your computer.

For debugging Android studio via WiFi install Wifi Adb Ultimate plugin
https://plugins.jetbrains.com/plugin/9207-wifi-adb-ultimate