aboutsummaryrefslogtreecommitdiff
path: root/.vscode/launch.json
blob: 46388dda1f37c2555b866857e47002dcd5bf96a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
    "configurations": [
        {
            "name": "Test All Features",
            "type": "node",
            "program": "/home/codespace/.nodejs/current/bin/npx",
            "args": [
                "-y",
                "dev-containers-cli-0.1.0.tgz",
                "features-test",
                "-d",
                "/workspaces/features",
                "-f",
                "${input:selectedFeatures}"
            ],
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "autoAttachChildProcesses": false,
            "request": "launch",
        },
        {
            "name": "Test Features (input)",
            "type": "node",
            "program": "/home/codespace/.nodejs/current/bin/npx",
            "args": [
                "-y",
                "dev-containers-cli-0.1.0.tgz",
                "features-test",
                "--directory",
                "/workspaces/features",
                "--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": "mcr.microsoft.com/vscode/devcontainers/base:focal"
        }
    ]
}