
1. The Skyline API serves as a cloud platform dashboard, where asynchronous performance is not critical. 2. Asynchronous mode introduces unnecessary coding complexity. 3. Update fastapi version Change-Id: I775807d6713c659e0c21553f2d7e1d6713f8c7fc
27 lines
780 B
JSON
27 lines
780 B
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python: FastAPI",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"args": [
|
|
"skyline_apiserver.main:app",
|
|
"--reload",
|
|
"--host",
|
|
"0.0.0.0",
|
|
"--port",
|
|
"28000"
|
|
],
|
|
"env": {
|
|
"OS_CONFIG_DIR": "${workspaceFolder}/etc"
|
|
},
|
|
"jinja": true,
|
|
"justMyCode": true
|
|
}
|
|
]
|
|
} |