Skip to content

Commit 76434ec

Browse files
committed
chore: update debug launch config to open Swagger UI
1 parent bc22454 commit 76434ec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.vscode/launch.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"request": "launch",
88
"module": "uvicorn",
99
"args": ["main:app", "--reload", "--port", "9000"],
10-
"jinja": true
10+
"jinja": true,
11+
"serverReadyAction": {
12+
"action": "openExternally",
13+
"pattern": "Uvicorn running on .*:(\\d+)",
14+
"uriFormat": "http://localhost:%s/docs"
15+
}
1116
}
1217
]
1318
}

0 commit comments

Comments
 (0)