langflow/.vscode/launch.json
Gabriel Luiz Freitas Almeida 5ed2c59c2a
Add version check and new version notice (#1616)
* Add version check and new version notice

* Add function to extract letter from pre-release version

* Update version banner and add package update notice

* Change log level from error to debug

* Refactor logging configuration and add InterceptHandler

* update banner

* Update launch.json path in .vscode directory
2024-04-05 16:20:17 -03:00

76 lines
1.6 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Backend",
"type": "python",
"request": "launch",
"module": "uvicorn",
"args": [
"--factory",
"langflow.main:create_app",
"--port",
"7860",
"--reload",
"--log-level",
"debug",
"--loop",
"asyncio"
],
"jinja": true,
"justMyCode": false,
"env": {
"LANGFLOW_LOG_LEVEL": "debug"
},
"envFile": "${workspaceFolder}/.env"
},
{
"name": "Debug CLI",
"type": "python",
"request": "launch",
"module": "langflow",
"args": [
"run",
"--path",
"${workspaceFolder}/src/backend/base/langflow/frontend"
],
"jinja": true,
"justMyCode": false,
"env": {
"LANGFLOW_LOG_LEVEL": "debug"
},
"envFile": "${workspaceFolder}/.env"
},
{
"name": "Python: Remote Attach",
"type": "python",
"request": "attach",
"justMyCode": true,
"connect": {
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
}
]
},
{
"name": "Debug Frontend",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000/",
"webRoot": "${workspaceRoot}/src/frontend"
},
{
"name": "Python: Debug Tests",
"type": "python",
"request": "launch",
"program": "${file}",
"purpose": ["debug-test"],
"console": "integratedTerminal",
"justMyCode": false
}
]
}