Clone a repository for development
If you want to start developing on a Azure DevOps repository (see create app on how to create one), you need to locally clone that repository and then open the workspace. Please note that installing Git is a prerequisite for this to work. You can find the installer here.
To clone the repository, you take these steps:
- Right-click on the repository that you want to use and select "Clone"
- Select the local folder where your repository shall be stored. Note that the command will automatically create a subfolder with the name of the repository in the folder you select
- VS Code will ask you whether you want to open the repository. Click on "Open" (opens the repository in the current VS Code window) or "Open in New Window" (opens a new VS Code window and opens the repository there)
- After opening the repository, VS Code will recognize that it contains a workspace and ask you, whether you want to open that. Click on "Open Workspace" as development will work best in the workspace.
With that, you are ready to start developing. You might want to create a container and setup your launch.json file to start publishing and debugging