From 90bbbe90f5f2021ca31ed62a41af3dfb074ffdc7 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Sat, 16 May 2020 22:54:46 +0100 Subject: [PATCH] Default some cpptools args: --- install_gadget.py | 6 ++++++ tests/testdata/cpp/simple/.vimspector.json | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/install_gadget.py b/install_gadget.py index b4760f8..3e39ed1 100755 --- a/install_gadget.py +++ b/install_gadget.py @@ -73,6 +73,12 @@ GADGETS = { "pidProperty": "processId", "pidSelect": "ask" }, + "configuration": { + "type": "cppdbg", + "args": [], + "cwd": "${workspaceRoot}", + "environment": [], + } }, }, }, diff --git a/tests/testdata/cpp/simple/.vimspector.json b/tests/testdata/cpp/simple/.vimspector.json index 4d50e7a..5eb06e1 100644 --- a/tests/testdata/cpp/simple/.vimspector.json +++ b/tests/testdata/cpp/simple/.vimspector.json @@ -3,12 +3,8 @@ "cpptools-run": { "adapter": "vscode-cpptools", "configuration": { - "type": "cppdbg", "request": "launch", "program": "${workspaceRoot}/${fileBasenameNoExtension}", - "args": [], - "cwd": "${workspaceRoot}", - "environment": [], "externalConsole": false, "stopAtEntry": true, "stopOnEntry": true,