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,