Add a manual test for the calculated variables

This commit is contained in:
Ben Jackson 2020-09-03 14:28:25 +01:00
commit db4e60aca5
2 changed files with 25 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{
"$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json",
"configurations": {
"run-to-entry": {
"adapter": "vscode-cpptools",
@ -44,6 +45,29 @@
"swift_throw": ""
}
}
},
"calculate-some-variable": {
"adapter": "vscode-cpptools",
"variables": {
"SIMPLE": "This is some text containing: $HOME",
"CALCULATED_LIST": {
"shell": [ "uuidgen" ]
},
"CALCULATED_STR": {
"shell": [ "uuidgen" ]
}
},
"configuration": {
"request": "launch",
"program": "${workspaceRoot}/${fileBasenameNoExtension}",
"MImode": "${VIMSPECTOR_MIMODE}",
"externalConsole": false,
"args": [
"CALCULATED_LIST", "${CALCULATED_LIST}",
"SIMPLE", "${SIMPLE}",
"CALCULATED_STR", "${CALCULATED_STR}"
]
}
}
}
}