Spaces:
Build error
Build error
Thomas Gardos
commited on
Commit
•
7804c2a
1
Parent(s):
b3bf29c
Add vscode debug config
Browse files- .vscode/launch.json +35 -0
- .vscode/tasks.json +13 -0
.vscode/launch.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
// Use IntelliSense to learn about possible attributes.
|
3 |
+
// Hover to view descriptions of existing attributes.
|
4 |
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
5 |
+
"version": "0.2.0",
|
6 |
+
"configurations": [
|
7 |
+
{
|
8 |
+
"name": "Python Debugger: Chainlit run main.py",
|
9 |
+
"type": "debugpy",
|
10 |
+
"request": "launch",
|
11 |
+
"program": "${workspaceFolder}/.venv/bin/chainlit",
|
12 |
+
"console": "integratedTerminal",
|
13 |
+
"args": ["run", "main.py"],
|
14 |
+
"cwd": "${workspaceFolder}/code",
|
15 |
+
"justMyCode": true
|
16 |
+
},
|
17 |
+
{ "name":"Python Debugger: Module store_manager",
|
18 |
+
"type":"debugpy",
|
19 |
+
"request":"launch",
|
20 |
+
"module":"modules.vectorstore.store_manager",
|
21 |
+
"env": {"PYTHONPATH": "${workspaceFolder}/code"},
|
22 |
+
"cwd": "${workspaceFolder}/code",
|
23 |
+
"justMyCode": true
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"name": "Python Debugger: Module data_loader",
|
27 |
+
"type": "debugpy",
|
28 |
+
"request": "launch",
|
29 |
+
"module": "modules.dataloader.data_loader",
|
30 |
+
"env": {"PYTHONPATH": "${workspaceFolder}/code"},
|
31 |
+
"cwd": "${workspaceFolder}/code",
|
32 |
+
"justMyCode": true
|
33 |
+
}
|
34 |
+
]
|
35 |
+
}
|
.vscode/tasks.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
3 |
+
// for the documentation about the tasks.json format
|
4 |
+
"version": "2.0.0",
|
5 |
+
"tasks": [
|
6 |
+
{
|
7 |
+
"label": "echo",
|
8 |
+
"type": "shell",
|
9 |
+
"command": "echo ${workspaceFolder}; ls ${workspaceFolder}/code",
|
10 |
+
"problemMatcher": []
|
11 |
+
}
|
12 |
+
]
|
13 |
+
}
|