[英]VSCode ignoring breakpoints during debug in python
I'm trying to debug a Django project with VSCode.我正在尝试使用 VSCode 调试 Django 项目。 Everything works fine, I get the output and VSCode footer goes purple (debug mode) but it just ignores the breakpoints.
一切正常,我得到输出并且 VSCode 页脚变为紫色(调试模式),但它只是忽略了断点。
This is my launch.json file:这是我的 launch.json 文件:
{
"version": "0.2.0",
"configurations": [
{
"name": "Django",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"program": "${workspaceRoot}/bullfrogloader/manage.py",
"args": [
"runserver",
]
},
]
}
This is an screenshot of vscode running it, just in case you see something weird there:这是运行它的 vscode 的屏幕截图,以防万一你在那里看到一些奇怪的东西:
thank you so much guys, I just don't know what else to do.非常感谢你们,我只是不知道还能做什么。
您是否尝试通过添加“justMyCode”来更改launch.json:false
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.