erchamp.blogg.se

Visual studio code wsl2
Visual studio code wsl2









visual studio code wsl2

Once WSL is setup, you also need to install the VS Code remote containers extension. For more info on how to do this, please refer to this post. After this reboot, to optimize Docker performance, installing WSL 2 is recommended. Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString('')) The following two commands install chocolatey and install Docker Desktop and VS Code. To install the first two, I used chocolatey.

  • The Visual Studio Code Remote – Containers extension.
  • visual studio code wsl2 visual studio code wsl2

  • Docker Desktop (if on Windows, preferably with WSL 2).
  • In order to get devcontainers in VScode to work, you need to install a couple of things: Let’s get started: Installing the required tools I’m going to use a development container where I run PowerShell and Azure PowerShell, to do some coding work for Bellhop. I recently bought a new PC, where I have no tools pre-installed. By using containers, you can run multiple environments on your machine without having to install the tools locally.įor example, I’m doing some development work right now in Azure PowerShell. Development containers in VS Code are a way to leverage containers as a remote environment with all required tools and extensions pre-installed. I recently started using development containers in Visual Studio Code (VS Code) to help manage this burden. Keeping environments up to date and having all the right tools installed can sometimes become a bit of a burden. As part of my job, I work with multiple languages and multiple tools on a daily basis.











    Visual studio code wsl2