7f34c5f05f629817d9c919bc76d327b787308ecc
[vimconf.git] / vimspector-config / vimspector.json
1 {
2 "configurations": {
3 "Launch": {
4 "default": true,
5 "adapter": "vscode-cpptools",
6 "filetypes": [ "cpp", "c", "objc", "rust" ],
7 "configuration": {
8 "request": "launch",
9 "MIMode": "gdb",
10 "program": "${fileBasenameNoExtension}",
11 "args": [ ],
12 "environment": [ ],
13 "externalConsole": true,
14 "setupCommands": [
15 {
16 "description": "Enable pretty-printing for gdb",
17 "text": "-enable-pretty-printing",
18 "ignoreFailures": true
19 }
20 ]
21 }
22 },
23 "Attach": {
24 "adapter": "vscode-cpptools",
25 "filetypes": [ "cpp", "c", "objc", "rust" ],
26 "configuration": {
27 "request": "attach",
28 "MIMode": "gdb",
29 "program": "${fileBasenameNoExtension}",
30 "setupCommands": [
31 {
32 "description": "Enable pretty-printing for gdb",
33 "text": "-enable-pretty-printing",
34 "ignoreFailures": true
35 }
36 ]
37 }
38 },
39 "Python: Attach To Vim": {
40 "adapter": "multi-session",
41 "filetypes": [ "python" ],
42 "variables": {
43 "port": "5678",
44 "host": "localhost"
45 },
46 "configuration": {
47 "request": "attach"
48 }
49 },
50 "Python: Run current script": {
51 "default": true,
52 "adapter": "debugpy",
53 "filetypes": [ "python" ],
54 "configuration": {
55 "request": "launch",
56 "program": "${file}",
57 "args": [ "*${args:--update-gadget-config}" ],
58 "justMyCode#json": "${justMyCode:true}"
59 }
60 }
61 }
62 }