Chapter 9: Visual Studio Code and WSL
In the book so far, the focus has been on WSL and working with WSL directly. In this chapter, we will step up a level and start to look at how we can work on top of WSL when developing applications. In particular, in this chapter, we will explore Visual Studio Code, a free editor from Microsoft.
We have already seen how WSL interoperability allows us to access files in our WSL distros from Windows. Visual Studio Code allows us to go a step deeper by having the graphical editing experience in Windows connecting to the supporting editor services running inside our WSL distro. In this way, Visual Studio Code provides us with abilities such as a graphical debugging experience for Linux applications running inside WSL. This gives us the ability to work with tools and dependencies in WSL while keeping the rich Windows-based editing experience in Visual Studio Code.
In this chapter, we're going to cover the following main topics:
- Introducing...