how to configure Vscode to debug Python using WSL?

让人想犯罪 __ 提交于 2021-02-19 06:26:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!