How to use IDE(VS Code) with browser securely

code-server makes you run VS code via browser.

Installation

Check Quick Install for more detail.

$ curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
$ curl -fOL https://github.com/cdr/code-server/releases/download/v3.5.0/code-server_3.5.0_amd64.deb
$ sudo dpkg -i code-server_3.5.0_amd64.deb

How to start

Steps:

  1. Check config to know the password
  2. Bring up code-server with binding IP and port so that you can access through secured https
  3. Click 8443 on Wazaterm menu

On terminal, type them

$ cat ~/.config/code-server/config.yaml # to check pass
$ code-server  --bind-addr 0.0.0.0:8443

Click menu 8443(https)

Enter pass and submit

Then you can use, VS Code.

Enjoy using Wazaterm!