-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimspector.json
43 lines (43 loc) · 1.12 KB
/
.vimspector.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
// Vimspector configuration. Dont worry comments are not important here as specially handled
{
"configurations": {
// Go
// https://github.com/golang/vscode-go/blob/master/docs/debugging.md#launchjson-attributes
"Operator": {
"adapter": "vscode-go",
"filetypes": [ "go" ],
"default": true,
"configuration": {
"request": "launch",
"protocol": "auto",
"stopOnEntry": true,
"console": "integratedTerminal",
"program": "${workspaceRoot}/operator",
"mode": "debug",
"cwd": "${workspaceRoot}/operator"
}
},
// Python
// https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings
"API": {
"adapter": "debugpy",
"filetypes": [ "python" ],
"default": false,
"configuration": {
"python": "${workspaceRoot}/venv/bin/python",
"request": "launch",
"program": "${workspaceRoot}/main.py",
"stopOnEntry": true,
"cwd": "${workspaceRoot}"
},
"breakpoints": {
"exception": {
"raised": "N",
"caught": "N",
"uncaught": "Y",
"userUnhandled": "N"
}
}
}
}
}