![Run python in visual studio code on linux](https://kumkoniak.com/49.jpg)
![run python in visual studio code on linux run python in visual studio code on linux](https://i.imgur.com/vKAAQQf.png)
![run python in visual studio code on linux run python in visual studio code on linux](https://code.visualstudio.com/assets/docs/python/tutorial/debug-python-file-in-terminal-button.png)
Linux Terminal – Instantiating VS Code ServerĪs you can see in above snapshot, it installs the VS Code Server component on WSL. for the first time, then this command may fetch some components from the web which are required to run VS code in WSL. Optionally you can also stay to the same path or you can navigate to Windows path mounted in Linux e.g. Then, navigate to any path on the Linux file system – which you want to open in Visual Studio code. Now, start the WSL prompt by running WSL command (and optionally providing the Linux distribution name in the command line). So, I assume we have all the ingredients required for this demo. Install Windows Terminal on windows sideĮven if you do not have installed these prerequisites, it should not take very long to install them now.Install Visual Studio Code on windows side.There are only two prerequisites mentioned below. But you can use similar steps to setup any framework and continue your development on Linux using WSL and Visual Studio Code.
![run python in visual studio code on linux run python in visual studio code on linux](https://d1.awsstatic.com/developer-tools/02-Toolkit-for-VS-Code-Develop-SAM-App.3b8ebcb3b219ebc40f2cddbdfd6276fa25a37466.png)
For the demo, we will try to setup Visual Studio Code for Python development. In this article, let’s have a look at how visual studio code can be used with WSL. It has nice plugins to support syntax highlighting and intellisense. You can work on almost any language / script using Visual Studio code. Visual Studio code has gained a lot of popularity recently as an IDE.
![Run python in visual studio code on linux](https://kumkoniak.com/49.jpg)