From bd519ebf355907fa071f87472813ab4fa53814cf Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 2 Apr 2024 01:11:47 -0300 Subject: [PATCH] Add debug configuration for CLI --- .vscode/launch.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 7e30dff76..962599449 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -24,6 +24,23 @@ }, "envFile": "${workspaceFolder}/.env" }, + { + "name": "Debug CLI", + "type": "python", + "request": "launch", + "module": "langflow", + "args": [ + "run", + "--path", + "${workspaceFolder}/src/backend/langflow/frontend" + ], + "jinja": true, + "justMyCode": false, + "env": { + "LANGFLOW_LOG_LEVEL": "debug" + }, + "envFile": "${workspaceFolder}/.env" + }, { "name": "Python: Remote Attach", "type": "python",