I think you have several options for this. If you are trying to debug a python file that was saved in your home directory on Bash on Windows, you can go to your home directory on Windows by going to "C: \ Users \ [Windows username] \ AppData \ Local \ lxss \ home \ [ubuntu username] \ ". You can then open any of your projects or files saved in your home folder in Ubuntu. You can even make a desktop shortcut or something to make access to this folder easier.
However, if you need an environment that you have on Bash for dependencies or python modules, another option is to install a GUI and Linux-compatible IDE for your Ubuntu and use Xming for Windows to run the IDE on your screen. A tutorial on how to do this can be found here .
If you need to debug a linux python program from Visual Studio, a simple google search gave it . I have not tried, but this seems to be the solution you are looking for. To connect over a network to Bash on Windows from Windows, use localhost for the host.
ekrekeler
source share