Skip to content

Execute Python code in WSL #7423

Description

@sfiruch

Describe the feature you are requesting
VS should be able to run Python code in WSL, similar to the functionality available for C++ developers (https://learn.microsoft.com/en-us/cpp/build/walkthrough-build-debug-wsl2?view=msvc-170). I'd like to run and debug my code running in WSL.

Reasons for requesting this feature
I work on a Python project which uses a lot of native code that is linux-x64 only. I'd like to use VS as IDE to work on this project.

Describe alternatives you've considered

  • Porting all library dependencies of my python project to windows infeasible
  • Using remote debugging is cumbersome and not suitable as daily development workflow.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions