Use Cases
In some development scenarios, you may prefer using a local IDE:- Large projects with hundreds of files
- Leveraging your existing local development environment
- Need for specific paid extensions or enterprise tools
- Preference for local IDE shortcuts and workflows
Prerequisites
Before you begin, make sure you have:Happycapy Account
Visit happycapy.ai to sign up
VS Code 1.70+
Download from code.visualstudio.com
GitHub Account
Required for tunnel authorization
Internet Connection
Stable connection needed for remote access
Connect in 3 Steps
Start Tunnel in Happycapy
In the Happycapy chat box, enter:Happycapy will automatically install and start the tunnel, then return:
Save these two details:
- Authorization page:
https://github.com/login/device - Authorization code:
XXXX-XXXX(8 characters)
GitHub Authorization
Complete the authorization in your browser (takes about 1 minute):
- Open https://github.com/login/device
- Enter the authorization code provided by Happycapy
- Click Authorize
Connect from Local VS Code
Install Remote - Tunnels Extension
Install Remote - Tunnels Extension
- Open local VS Code
- Press
Ctrl + Shift + Xto open Extensions - Search for Remote - Tunnels (by Microsoft)
- Click Install
Connect to Tunnel
Connect to Tunnel
- Press
F1to open the Command Palette - Type:
Remote-Tunnels: Connect to Tunnel - Sign in to GitHub (first time only)
- Select
Happycapyfrom the list - Wait for the connection to establish
Start Using
Once connected, you can work with your Happycapy sandbox as if it were local:Open Remote Folder
Enter folder path
Common paths:
/home/node- Your home directory/workspace- Your workspace directory
Open Terminal
Press `Ctrl + “ (backtick) to open the remote terminal.Quick Reference
Happycapy Prompt Cheatsheet
| Action | Prompt |
|---|---|
| Start Tunnel | Please start VSCode Remote Tunnel (global mode) --name Happycapy, and show the GitHub verification link and code |
| Check Status | Is the VSCode Tunnel still running? |
| Stop Service | Please stop the VSCode Tunnel service |
| Restart | Please restart VSCode Tunnel |
VS Code Shortcuts
| Action | Shortcut |
|---|---|
| Open Folder | Ctrl + K, then Ctrl + O |
| Open Terminal | `Ctrl + “ |
| Command Palette | F1 or Ctrl + Shift + P |
| Quick Open | Ctrl + P |
| Disconnect | Click bottom-left >< Remote indicator |
Troubleshooting
Cannot find my tunnel?
Cannot find my tunnel?
- Ask Happycapy: “Is the VSCode Tunnel still running?”
- If not running, execute the start prompt again
- Check your local internet connection
- Re-sign in to GitHub:
- Press
F1→Remote-Tunnels: Sign out - Then reconnect and sign in again
- Press
Connection timeout
Connection timeout
Try these steps:
- Check your internet connection
- Temporarily disable VPN if using one
- Restart the tunnel in Happycapy
- Update VS Code to the latest version
Cannot save files
Cannot save files
- Check disk space: Run
df -hin the remote terminal - Check file permissions: Run
ls -la - Try reconnecting the tunnel
Extension not working
Extension not working
Some extensions need to be installed on the remote server:
- Open Extensions panel (
Ctrl + Shift + X) - Look for extensions with “Install in SSH: Happycapy” button
- Click to install on the remote server
Best Practices
Quick Daily Work
Use Happycapy web interface for quick tasks and conversations
Complex Projects
Switch to local VS Code for large-scale development and refactoring
Both the web interface and VS Code connect to the same cloud sandbox, so no file migration is needed when switching between them!
You’re All Set!
You now know the complete workflow to connect your local VS Code to the Happycapy cloud sandbox. Enjoy your cloud development journey!Need more help?
Contact our support team for assistance