在debug和pytest debug中添加 justMyCode
选项
- 参考这个issue
.vscode/launch.json
{
"name": "Python: 当前文件",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Debug Pytest",
"type": "python",
"request": "test",
"justMyCode": false
}
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 365433079@qq.com