更新时间:2024-07-26 GMT+08:00
分享

启动配置示例

以下是一个可运行的启动配置示例。

{
    "request": "launch",
    "console": "integratedTerminal",
    "jinja": true,
    "python": "${command:python.interpreterPath}",
    "stopOnEntry": false,
    "redirectOutput": true,
    "program": "${workspaceFolder}\\manage.py",
    "env": {},
    "type": "python",
    "logToFile": false,
    "args": [
        "runserver"
    ],
    "cwd": "${workspaceFolder}",
    "subProcess": false,
    "justMyCode": true,
    "django": true,
    "pythonArgs": [],
    "name": "Python: Django",
    "showReturnValue": true
}

相关文档