问题
I found the configuration for cpp (https://github.com/Microsoft/vscode-cpptools/blob/master/Documentation/Debugger/gdb/Windows%20Subsystem%20for%20Linux.md) and tried to change it for python debugging but it doesn't work. Any suggestion to make it work?
回答1:
It should be mentioned that the Python extension for VS Code does not officially support WSL yet, but the enhancement request has been made and we do plan on supporting it.
回答2:
This is now supported and just requires installing the Microsoft Python extension and following the documentation here.
来源:https://stackoverflow.com/questions/49607174/how-to-configure-vscode-to-debug-python-using-wsl