DEV Community

Discussion on: Setting up a new dev machine

Collapse
 
jzombie profile image
jzombie • Edited

I use several computers and all the major operating systems, so my setup can get crazy sometimes, however, I've found this to be rather useful...

VSCode has awesome support for remote development if you have multiple machines and want to use one (or more of them) as a potential dev server: code.visualstudio.com/docs/remote/ssh

Many of the extensions using these tools will run on the remote server, and you can use a low-end machine for VSCode, and it will run your linter and various extensions, on the remote machine.

It comes in really handy for development servers you may want to run in the cloud somewhere (i.e. on DigitialOcean / Vultr), and you can just code right on top of them.

It's also useful if you just want to use another local computer to hack around on some code stored on another computer on your LAN.

After the initial setup, the plugins you have configured to work on the remote dev server will be synced to the client servers on connect, for the duration of that session.

It feels like you're not even using a remote machine, plus it maps the remote ports you use to localhost.