langflow/.vscode/launch.json
Gabriel Luiz Freitas Almeida 68c4799ab0 🔧 chore(launch.json): update launch.json to include a new configuration for debugging Python tests
 feat(launch.json): add a new configuration for debugging Python tests with the purpose of "debug-test" and console set to "integratedTerminal"
2023-08-07 14:47:04 -03:00

53 lines
1.1 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"
],
"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"
},
{
"name": "Python: Debug Tests",
"type": "python",
"request": "launch",
"program": "${file}",
"purpose": ["debug-test"],
"console": "integratedTerminal",
"justMyCode": false
}
]
}