In case you want to test you app on your physical device via WiFi:
1.) Connect your device via USB (make sure developer options and USB debugging is enabled)
2.) Type in your Android Studio terminal: adb tcpip 5555
3.) Remove USB connection
4.) Type in your Android Studio terminal: adb connect <ip address of your device>
Alternatively, you can use WiFi ADB extension for Android Studio. I don't know any similar extension for VS Code.