-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
launch.json
79 lines (78 loc) · 1.76 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Backend",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
"--factory",
"langflow.main:create_app",
"--port",
"7860",
"--reload",
"--log-level",
"debug",
"--loop",
"asyncio",
"--reload-include",
"src/backend/*"
],
"jinja": true,
"justMyCode": false,
"env": {
"LANGFLOW_LOG_LEVEL": "debug",
"LANGFLOW_PROMETHEUS_PORT": "9090"
},
"envFile": "${workspaceFolder}/.env"
},
{
"name": "Debug CLI",
"type": "debugpy",
"request": "launch",
"module": "langflow",
"args": [
"run",
"--path",
"${workspaceFolder}/src/backend/base/langflow/frontend",
"--env-file",
"${workspaceFolder}/.env"
],
// "python": "/path/to/your/python_env/python", // Replace with the path to your Python executable
"jinja": true,
"justMyCode": false
},
{
"name": "Python: Remote Attach",
"type": "debugpy",
"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": "debugpy",
"request": "launch",
"program": "${file}",
"purpose": ["debug-test"],
"console": "integratedTerminal",
"justMyCode": false
}
]
}