How to use Visual Studio Code on Wazaterm

code-server makes you run VS code via browser.


Check Quick Install for more detail.

$ curl -fsSL | sh

How to start

Check config to know the password and launch code-sever
$ cat ~/.config/code-server/config.yaml # to check pass
$ PORT=8000 code-server
Local port forwarding to access in a secure way

You can access directly port 3000 or 5000 but we recommend using SSH local port forwarding which enables you to access through SSH tunnel.

$ autossh -M 50400 -NT -o "ServerAliveInterval 60" -o TCPKeepAlive=yes -o "ServerAliveCountMax 120" -L 8000:localhost:8000
(Optional )Use code server as an app

Ctrl + T or other shortcuts are taken by browser. If you want to use these shortcut in the editor, run as PWA by clicking the icon in the address bar.