Skip to content

Commit 56edfa0

Browse files
committed
Add launch.json
1 parent 8fa0a59 commit 56edfa0

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.vscode/launch.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,17 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": "Python: Flask",
9-
"type": "python",
8+
"name": "Python Debugger: FastAPI",
9+
"type": "debugpy",
1010
"request": "launch",
11-
"module": "flask",
12-
"env": {
13-
"FLASK_APP": "core.web.webapp",
14-
"OAUTHLIB_INSECURE_TRANSPORT": "1"
15-
},
11+
"module": "uvicorn",
1612
"args": [
17-
"run",
18-
"--no-debugger",
19-
"--no-reload",
13+
"core.web.webapp:app",
14+
"--reload",
2015
"--host",
2116
"0.0.0.0"
2217
],
23-
"jinja": true,
24-
"justMyCode": false
18+
"jinja": true
2519
}
2620
]
2721
}

0 commit comments

Comments
 (0)