✨ feat(launch.json): add a new configuration for debugging Python tests with the purpose of "debug-test" and console set to "integratedTerminal"
53 lines
1.1 KiB
JSON
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
|
|
}
|
|
]
|
|
}
|