From e3983da487d981743008b7032922a63f1406ff70 Mon Sep 17 00:00:00 2001 From: Gabriel Almeida Date: Sat, 27 May 2023 09:41:35 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=20chore(.gitignore):=20add=20qdran?= =?UTF-8?q?t=5Fstorage=20to=20ignore=20list=20=F0=9F=86=95=20feat(.vscode/?= =?UTF-8?q?launch.json):=20add=20launch=20configuration=20for=20FastAPI=20?= =?UTF-8?q?app=20The=20qdrant=5Fstorage=20directory=20is=20now=20added=20t?= =?UTF-8?q?o=20the=20ignore=20list=20to=20prevent=20it=20from=20being=20tr?= =?UTF-8?q?acked=20by=20git.=20A=20new=20launch=20configuration=20for=20Fa?= =?UTF-8?q?stAPI=20app=20is=20added=20to=20the=20.vscode/launch.json=20fil?= =?UTF-8?q?e.=20This=20configuration=20allows=20for=20debugging=20the=20ap?= =?UTF-8?q?p=20with=20uvicorn=20and=20sets=20the=20port=20to=207860,=20rel?= =?UTF-8?q?oads=20the=20app=20on=20changes,=20and=20sets=20the=20log=20lev?= =?UTF-8?q?el=20to=20debug.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- .vscode/launch.json | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index c2ffb8276..cb7805a70 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..b0a48cdc6 --- /dev/null +++ b/.vscode/launch.json @@ -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": "." + } + ] + } + ] +}