我正在尝试在VS Code中调试Django。 断点在启动代码运行时起作用,但在执行突变时却不会。有人知道为什么会这样吗?
这是我的配置文件的样子:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Django: Runserver",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": [
"runserver",
],
"django": true,
}
]
}
任何想法或指示都受到高度赞赏。