Benefits:

Installation:

  1. Install VS Code from https://code.visualstudio.com/download
  2. Launch VS Code and install Visual Studio Code Remote Development Extension Pack https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
  3. Click on the “Remote Explorer” icon on left panel, choose “Containers” from the top dropdown.
  4. See the list of active Docker containers, right click on ddev-projectname-web container, choose “Attach to Container”.
  5. Wait while VS Code will download and deploy the server-side component of VS Code into the container (”Downloading VS Code Server” message), and that’s all!

Additional configuration: