-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimspector.json
46 lines (46 loc) · 1.16 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
44
45
46
{
"configurations": {
"train": {
"adapter": "debugpy",
"filetypes": [ "python" ],
"configuration": {
"name": "train: Launch (use breakpoints)",
"type": "python",
"request": "launch",
"cwd": "${workspaceRoot}",
"python": "<your_env_python_binary>",
"stopOnEntry": false,
"console": "integratedTerminal",
"debugOptions": [],
"program": "train.py",
"env": {"USE_MPS_IF_AVAILABLE": "0", "PYTORCH_ENABLE_MPS_FALLBACK": "1"},
"args": [
"+experiment=exp_a",
"data_loader.batch_size=16",
"run.viz_every=0"
]
},
"breakpoints": {
"exception": {
"raised": "N",
"uncaught": "Y",
"userUnhandled": ""
}
}
},
"train-nobp": {
"extends": "train",
"name": "train: Launch (stop on entry)",
"configuration": {
"stopOnEntry": true
}
},
"test": {
"extends": "train: Launch (use breakpoints)",
"name": "test: Launch (use breakpoints)",
"configuration": {
"program": "test.py"
}
}
}
}