🔍 chore(.gitignore): add qdrant_storage to ignore list

🆕 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.
This commit is contained in:
Gabriel Almeida 2023-05-27 09:41:35 -03:00
commit e3983da487
2 changed files with 37 additions and 1 deletions

3
.gitignore vendored
View file

@ -5,12 +5,13 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
qdrant_storage
# Mac
.DS_Store
# VSCode
.vscode
.vscode/settings.json
.chroma
.ruff_cache

35
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,35 @@
{
"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": "."
}
]
}
]
}