langflow/.vscode/launch.json
Gabriel Luiz Freitas Almeida 2bd3d6b3de 🐛 fix(launch.json): remove wildcard from url property to fix debugging issue
The wildcard in the url property was causing issues with debugging the frontend. Removing the wildcard ensures that the debugger is attached to the correct URL.
2023-06-14 15:12:19 -03:00

42 lines
831 B
JSON

{
"configurations": [
{
"name": "Debug Backend",
"type": "python",
"request": "launch",
"module": "uvicorn",
"args": [
"langflow.main:app",
"--port",
"7860",
"--reload",
"--log-level",
"debug"
],
"jinja": true,
"justMyCode": true
},
{
"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"
}
]
}