Getting started with Remote-WSL
The Remote-WSL extension is included in the Remote-Development extension pack (https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack), which provides an easy way to install Remote-WSL, Remote-SSH, and Remote-Containers in a single step. If you prefer to just install Remote-WSL, then do that here: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl.
To follow along with this, make sure that you have the code for the book cloned in a Linux distro. You can find the code at https://github.com/PacktPublishing/Windows-Subsystem-for-Linux-2-WSL-2-Tips-Tricks-and-Techniques.
The sample code uses Python 3, which should already be installed if you are using a recent version of Ubuntu. You can test whether Python 3 is installed by running python3 -c 'print("hello")'
in your Linux distro. If the command completes successfully, then you're all set. If not, refer...