To run VS Code from your phone on your computer, use VS Code Remote Tunnels. Open VS Code on your computer, enable remote tunnel access under the account menu (signing in with a GitHub or Microsoft account), then open vscode.dev on your phone browser and connect to your machine's tunnel. [1] (https://www.youtube.com/watch?v=XcovoZWAdxE), [2] (https://www.youtube.com/shorts/LT UybUdOKY)
Method 1: VS Code Remote Tunnels (Official & Easiest)
This method lets you control your desktop or laptop VS Code directly from a mobile web browser without complex network routing. [1] (https://www.youtube.com/watch?v=XcovoZWAdxE)
• On your computer:
1. Open Visual Studio Code.
2. Click the Account icon (bottom left corner) and select Turn on Remote Tunnel Access... (or press F1, type Remote Tunnels: Turn on Remote Tunnel Access, and select Enable).
3. Sign in with your GitHub or Microsoft account and authorize the connection.
4. Wait for the notification confirming that your machine is accessible. [1] (https://www.youtube.com/watch?v=XcovoZWAdxE)