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.
Re:
by chromakode on Friday September 01, 2023 @01:35AM
(#37347198)
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.
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?