summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json20
1 files changed, 18 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index a24f6a9..4e95206 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -5,12 +5,28 @@
"version": "0.2.0",
"configurations": [
{
+ "name": "Python Debugger: Current File",
+ "type": "debugpy",
+ "request": "launch",
+ "program": "${file}",
+ "console": "integratedTerminal",
+ "justMyCode": false
+ },
+ {
"name": "uvicorn",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
- "args": ["app.main:app", "--host", "0.0.0.0", "--log-config", "./log_config.json"],
+ "args": [
+ "app.main:app",
+ "--host",
+ "0.0.0.0",
+ "--log-config",
+ "./log_config.json",
+ "--workers",
+ "1"
+ ],
"console": "integratedTerminal"
}
]
-} \ No newline at end of file
+}