X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=neosnippets%2Fvimspector.json;fp=neosnippets%2Fvimspector.json;h=5517eee2339492d988c47d32a191d23d78040380;hp=0000000000000000000000000000000000000000;hb=3aa781b69d23148ffd47b6b468f0aeec92dc800e;hpb=a7bd98a26484944d7db299009cc9cab309389c86 diff --git a/neosnippets/vimspector.json b/neosnippets/vimspector.json new file mode 100644 index 0000000..5517eee --- /dev/null +++ b/neosnippets/vimspector.json @@ -0,0 +1,48 @@ +{ + "configurations": { + "Launch": { + "default": true, + "adapter": "vscode-cpptools", + "filetypes": [ "cpp", "c", "objc", "rust" ], + "configuration": { + "request": "launch", + "MIMode": "gdb", + "program": "${fileBasenameNoExtension}", + "args": [ ], + "environment": [ ], + "externalConsole": true + } + }, + "Attach": { + "adapter": "vscode-cpptools", + "filetypes": [ "cpp", "c", "objc", "rust" ], + "configuration": { + "request": "attach", + "MIMode": "gdb", + "program": "${fileBasenameNoExtension}" + } + }, + "Python: Attach To Vim": { + "adapter": "multi-session", + "filetypes": [ "python" ], + "variables": { + "port": "5678", + "host": "localhost" + }, + "configuration": { + "request": "attach" + } + }, + "Python: Run current script": { + "default": true, + "adapter": "debugpy", + "filetypes": [ "python" ], + "configuration": { + "request": "launch", + "program": "${file}", + "args": [ "*${args:--update-gadget-config}" ], + "justMyCode#json": "${justMyCode:true}" + } + } + } +}