Start Dev Container from scratch
You can create a new Dev Container using a devcontainer.json
file and the configuration options it offers.
The easiest way to start is to pull an image (a predefined template) for your devcontainer.json
file from a container registry (the collection of repositories with the predefined images).
Create a Dev Container
Open a project in WebStorm.
In the Project view, right-click the name of your project and select New | Dev Container Config.
In the dialog that opens, select the necessary template in the Dev Container Template field.
Click OK.
WebStorm generates the .devcontainer directory with the devcontainer.json file that contains the container description. You can customize the configuration as needed.
In the left gutter, click and select Create Dev Container and Mount Sources to build your Dev Container.