Hacker News new | ask | show | jobs
by schainks 1730 days ago
Could you say more about your set up? I'm looking for something similar.
1 comments

So the goal was running my development machine remotely.

I didn't want to clog up my server with a development toolchain, so I first tried VSCode Remote (Docker). It's what I would prefer, yet I never found managing a development environment in Docker comfortable. My dev machine bootstrap is scripted, but trying out new software and mapping ports on a whim don't lend themselves well.

Currently I am using VSCode Remote (SSH) running in a virtual machine. This keeps the development environment separate from the server, and any random tools I need to install are still there after any restart.

The VM was just Ubuntu Server with sshd. VSCode Remote (SSH) is great. Installing the extension on a client machine sets up the server on the machine you connect to. Ports can be mapped from the server right in VSCode (it can even automatically detect them and mapped them for you). Terminals work as expected, mouse emulation works.