Connect to multiple containers - Visual Studio Code
VS Code will then start up both containers, reload the current window and connect to the selected container. Run Dev Containers: Switch Container from the Command Palette (F1) and select Node Container. The current VS Code window will reload and connect to the selected container. You can switch back with the same command.
code.visualstudio.com