From 480a6f51184e58bd60e644518772fed05e13dc4c Mon Sep 17 00:00:00 2001 From: Christian Kagerer Date: Fri, 8 Dec 2023 17:40:40 +0000 Subject: [PATCH] vscode: add launch.json --- .vscode/launch.json | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..281d16d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,47 @@ +{ + "configurations": [ + { + "name": "Test All Features", + "type": "node", + "program": "/usr/local/share/npm-global/bin/devcontainer", + "args": [ + "features", + "test", + ], + "console": "integratedTerminal", + "cwd": "${workspaceFolder}", + "autoAttachChildProcesses": false, + "request": "launch", + }, + { + "name": "Test Features (input)", + "type": "node", + "program": "/usr/local/share/npm-global/bin/devcontainer", + "args": [ + "features", + "test", + "--features", + "${input:selectedFeatures}", + "--base-image", + "${input:selectedBaseImage}" + ], + "console": "integratedTerminal", + "cwd": "${workspaceFolder}", + "autoAttachChildProcesses": false, + "request": "launch", + } + ], + "inputs": [ + { + "id": "selectedFeatures", + "type": "promptString", + "description": "Comma separated list of features to test", + }, + { + "id": "selectedBaseImage", + "type": "promptString", + "description": "Base Image", + "default": "ubuntu:22.04" + } + ] +}