Skip to content

Commit 480a6f5

Browse files
committed
vscode: add launch.json
1 parent 575da05 commit 480a6f5

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.vscode/launch.json

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Test All Features",
5+
"type": "node",
6+
"program": "/usr/local/share/npm-global/bin/devcontainer",
7+
"args": [
8+
"features",
9+
"test",
10+
],
11+
"console": "integratedTerminal",
12+
"cwd": "${workspaceFolder}",
13+
"autoAttachChildProcesses": false,
14+
"request": "launch",
15+
},
16+
{
17+
"name": "Test Features (input)",
18+
"type": "node",
19+
"program": "/usr/local/share/npm-global/bin/devcontainer",
20+
"args": [
21+
"features",
22+
"test",
23+
"--features",
24+
"${input:selectedFeatures}",
25+
"--base-image",
26+
"${input:selectedBaseImage}"
27+
],
28+
"console": "integratedTerminal",
29+
"cwd": "${workspaceFolder}",
30+
"autoAttachChildProcesses": false,
31+
"request": "launch",
32+
}
33+
],
34+
"inputs": [
35+
{
36+
"id": "selectedFeatures",
37+
"type": "promptString",
38+
"description": "Comma separated list of features to test",
39+
},
40+
{
41+
"id": "selectedBaseImage",
42+
"type": "promptString",
43+
"description": "Base Image",
44+
"default": "ubuntu:22.04"
45+
}
46+
]
47+
}

0 commit comments

Comments
 (0)