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.
42 lines
831 B
JSON
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"
|
|
}
|
|
]
|
|
}
|