🆕 feat(.vscode/launch.json): add launch configuration for FastAPI app
The qdrant_storage directory is now added to the ignore list to prevent it from being tracked by git. A new launch configuration for FastAPI app is added to the .vscode/launch.json file. This configuration allows for debugging the app with uvicorn and sets the port to 7860, reloads the app on changes, and sets the log level to debug.
35 lines
650 B
JSON
35 lines
650 B
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "Python: FastAPI",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"args": [
|
|
"langflow.main:app",
|
|
"--port",
|
|
"7860",
|
|
"--reload",
|
|
"--log-level",
|
|
"debug"
|
|
],
|
|
"jinja": true,
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "Python: Remote Attach",
|
|
"type": "python",
|
|
"request": "attach",
|
|
"justMyCode": true,
|
|
"connect": {
|
|
"port": 5678
|
|
},
|
|
"pathMappings": [
|
|
{
|
|
"localRoot": "${workspaceFolder}",
|
|
"remoteRoot": "."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|