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 ...

Get Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.