diff --git a/.vscode/launch.json b/.vscode/launch.json index f65cb376..3800c8f0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,15 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name":"Device Simulation", + "type":"python", + "request":"launch", + "module":"tickit", + "justMyCode":false, + "console": "integratedTerminal", + "args": ["all", "${input:deviceConfig}"] + }, { "name": "Debug Unit Test", "type": "python", @@ -21,5 +30,22 @@ "PYTEST_ADDOPTS": "--no-cov" }, } - ] + ], + // Requires the following extension: + // Name: Command Variable + // Id: rioj7.command-variable + // Description: Calculate command variables for launch.json and tasks.json + // Version: 1.54.1 + // Publisher: rioj7 + // VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=rioj7.command-variable + "inputs": [ + { + "id": "deviceConfig", + "type": "command", + "command": "extension.commandvariable.file.pickFile", + "args": { + "include": "{examples,s03_configs}/**/*.{yaml,yml}", + } + } + ] } \ No newline at end of file