-
Notifications
You must be signed in to change notification settings - Fork 0
Wireless Pairing
Caspian-Explorer edited this page Mar 13, 2026
·
1 revision
Connect your Android phone to VS Code over Wi-Fi — no USB cable needed.
The fastest way to pair a phone wirelessly:
- Open VS Code Command Palette → Caspian: Connect Device via Wi-Fi
- Select Pair with QR Code (Android 11+)
- A panel opens with a QR code and a 6-digit backup code
- On your phone: Settings → Developer Options → Wireless Debugging → Pair device with QR code
- Point the phone's camera at the QR code in VS Code
- The panel shows live progress: waiting → TLS connected → exchanging keys → paired
- The device appears in the Connected Devices panel
Requirements:
- Android 11 or later
- Phone and computer must be on the same Wi-Fi network
- Wireless Debugging must be enabled in Developer Options
Troubleshooting:
- If the QR code isn't scanned, check that both devices are on the same network
- Corporate networks with client isolation may block mDNS discovery — use the manual pairing code shown below the QR code
- If pairing times out after 120 seconds, click Regenerate to get a fresh QR code
- Open VS Code Command Palette → Caspian: Connect Device via Wi-Fi
- Select Wireless Debugging (Android 11+)
- Enter the pairing code and IP:port shown on your phone's Wireless Debugging screen
- Connect the phone via USB first
- Open VS Code Command Palette → Caspian: Connect Device via Wi-Fi
- Select TCP/IP (any Android)
- The extension switches the phone to TCP/IP mode and connects — you can then unplug the USB cable
Use Caspian: Disconnect Wi-Fi Device from the Command Palette to disconnect a wirelessly connected device.