|
| 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