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

启动配置示例

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

{
    "request": "launch",
    "console": "integratedTerminal",
    "jinja": true,
    "python": "${command:python.interpreterPath}",
    "stopOnEntry": false,
    "redirectOutput": true,
    "module": "uvicorn",
    "env": {},
    "type": "python",
    "logToFile": false,
    "args": [
        "main:app"
    ],
    "cwd": "${workspaceFolder}",
    "subProcess": false,
    "justMyCode": true,
    "pythonArgs": [],
    "name": "Python: FastAPI",
    "showReturnValue": true
}

相关文档