Only reason I use virtual environments instead of just building everything inside Docker containers is the debug experience, which is not good enough inside a Docker container.
Well to use something like "debugpy" It's the port mapping that just dosn't work straight out of the box, but needs custom settings inside my editor (and often times additional code inside the startup script) to get it working between the container and my local machine.
Okay that makes sense, I don't really see how it's simpler but I completely see the use case. I was unclear on what he/she meant by the editor "just working" without having some config or plugin to point to the installed packages