X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=vimspector-config%2Fvimspector.json;h=c6a761ac833b9c8a38400a0b2b2c6c3d6eb72620;hp=5517eee2339492d988c47d32a191d23d78040380;hb=823397f9ce500463294e73b91ad3800f570401b6;hpb=121b8f443dfac2726c3f075c3d1faedc23e303e6 diff --git a/vimspector-config/vimspector.json b/vimspector-config/vimspector.json index 5517eee..c6a761a 100644 --- a/vimspector-config/vimspector.json +++ b/vimspector-config/vimspector.json @@ -1,3 +1,4 @@ +// This is from a template. Modify for your needs. { "configurations": { "Launch": { @@ -10,7 +11,14 @@ "program": "${fileBasenameNoExtension}", "args": [ ], "environment": [ ], - "externalConsole": true + "externalConsole": true, + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] } }, "Attach": { @@ -19,7 +27,14 @@ "configuration": { "request": "attach", "MIMode": "gdb", - "program": "${fileBasenameNoExtension}" + "program": "${fileBasenameNoExtension}", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] } }, "Python: Attach To Vim": {