Remote development with Visual Studio Code

Beginner
Developer
Visual Studio Code

Remote development provides benefits like consistent environments, the ability to use more powerful hardware, and the flexibility to develop on different platforms without impacting your local machine. Visual Studio Code provides tools for various remote development setups, such as using a container, a remote machine, or the Windows Subsystem for Linux (WSL). In this path, you will:

  • Learn about the different remote development offerings available in Visual Studio Code.
  • Practice getting started with each remote development offering.
  • Discover tips for personalizing your own remote development workflow.

Prerequisites

  • Basic familiarity with the Visual Studio Code editor, such as knowing how to install extensions
  • Basic knowledge of software development, such as editing and running code and working with source control providers like GitHub

Modules in this learning path

Get, create, and configure a container-based development environment with the Visual Studio Code Dev Containers extension.

In this module, you'll learn how to use Visual Studio for the Web to develop from any device that is browser compatible. We'll explore how to make and review lightweight code edits using Visual Studio Code for the Web. Finally, we'll learn how to continue working in a different environment to get the full feature set of Visual Studio Code.

Enable remote tunnel access with Visual Studio Code.

In this module, you'll learn how to seamlessly develop on a remote machine using the Visual Studio Code Remote - SSH extension. We'll explore how to run and debug code located on a remote machine, while locally using Visual Studio Code's full feature set.

In this module, you learn how to use the Windows Subsystem for Linux (WSL) with Visual Studio Code (VS Code). We explore the installation process and the basics of using WSL. Additionally, we install and utilize the Visual Studio Code WSL extension. Finally, we demonstrate how to debug and run Python code in VS Code within our WSL environment.

Note

This module contains a primer on the Windows Subsystem for Linux (WSL). For a more in depth module on WSL check out Introduction to Windows Subsystem for Linux (WSL).

In this module, you learn how to customize Visual Studio Code for remote development environments. We explore how to back up your Visual Studio Code configuration so that you get your own personalized experience no matter where you use Visual Studio Code. We also examine how to use profiles in Visual Studio Code to load custom development environments for various remote configurations and projects.