Hacker News new | ask | show | jobs
by 0cf8612b2e1e 1020 days ago
Do you run an IDE inside the guest or the host (through something like VS Code Remote)?

Keeping the IDE inside the VM would feel more appropriate for your isolation, but would be a continual source of friction to keep IDE plugins/settings/tools in sync. Using a remote development workflow feels like it would eliminate many isolation guarantees.

What does your VM provisioning setup look like?

2 comments

PhpStorm has the Jetbrains Gateway which allows running the IDE on the VM and connecting to it using a client on the host. However, I found this to be a rather clunky approach when working on a local VM. I could imagine it working well if you’re developing on a remote machine but for local use cases this feels like an overengineered approach.
Yep! I run code-server inside the guest VM (or remote host). It's a great middle ground for snappy editing and isolation.

Re: provisioning, really basic automation around KVM. I've been meaning to experiment with Firecracker for more transient runtime environments.