![]() VS Code is installing a small server on the Linux side that the desktop VS Code will then talk to. The first thing you'll see is a message about "Installing VS Code Server" (the c7d83e57… number is the version of the VS Code Server that matches the client-side tools you just installed). Note: If this command does not work, you may need to restart your terminal, or you may not have added VS Code to your path when it was installed. If you use the Insiders version of VS Code, you will have to run 'code-insiders. The '.' argument tells VS Code to open the current folder. In the WSL terminal, make sure you are in the helloWorld folder, and type in 'code. And that defeats the purpose of having an isolated Linux instance set up with all your Python tools and runtimes! Run in WSL Remember, Python is installed in the Linux distro, which means if you're editing Python files on the Windows side, you can't run or debug them unless you install the same Python development stack on Windows. The problem with this model is that the Python runtime, pip, or any conda packages for that matter, are not installed on Windows. You can run Vim in the terminal to edit your file, or you can edit the sources on the Windows side through the \\wsl$ mount: In a remote Linux environment (this WSL distro is technically another machine without UI, that just happens to be running locally on your computer), your development tools and experiences are pretty limited. ![]() Create a new folder called "helloWorld" and then add a Python file that will print a message when run: mkdir helloWorld
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |