Because last I checked I couldn't and was a blocker for my team.
With VSCode I can attach to both local and remote environments using Remote Development plugin by Microsoft (https://marketplace.visualstudio.com/items?itemName=ms-vscod...).
Yes most things are plugins. But they are high quality and maintained by the likes of Google, Microsoft, Docker, Shopify, Vue team, etc.
I like Docker development containers because they contain all the tools and configuration, down to the precise dependency and tooling versions.
Not only is the onboarding easier but we get less surprises by small differences in environments.