如何使用VSCode调试django?

时间:2016-10-05 13:19:03

标签: django visual-studio-code

默认配置种类不起作用:

{
    "name": "Django",
    "type": "python",
    "request": "launch",
    "stopOnEntry": false,
    "pythonPath": "${config.python.pythonPath}",
    "program": "${workspaceRoot}/manage.py",
    "console":"externalTerminal",
    "args": [
        "runserver"
    ],
    "debugOptions": [
        "WaitOnAbnormalExit",
        "WaitOnNormalExit",
        "DjangoDebugging"
    ]
},

0 个答案:

没有答案