vscode python debug 调试,配置launch.json后报Invalid message: "program", "module", and "code" are mutually exclusive
python模块化运行命令行:
python -m module_name
如何用Vscode debug模式模块化debug
参考:https://www.jianshu.com/p/1d68af4dcea2
更改之后报错
Invalid message: "program", "module", and "code" are mutually exclusive
解决方案:
删除launch.json里的
"program": "${file}"
参考:
https://www.jianshu.com/p/1d68af4dcea2
https://stackoverflow.com/questions/53235050/debug-python-module-using-vs-code-by-pressing-f5