forked from igrek8/dynamic-inputs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.json
37 lines (37 loc) · 975 Bytes
/
launch.json
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
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Launch Program",
"skipFiles": ["<node_internals>/**"],
"args": ["${input:myDynamicParameter}"],
"program": "${workspaceFolder}/main.js",
"preLaunchTask": "myPreBuildTask"
}
],
"inputs": [
{
"id": "myDynamicParameter",
"type": "command",
// always require selection
"command": "dynamic-inputs.write",
"args": {
"command": "bash",
"args": ["${workspaceFolder}/populate.sh"],
// memoize the selection to pass to myPreBuildTask
"var": "myDynamicParameter",
// map options to values
"unwrap": "$[*].value",
"serializer": "plain",
"quickPickOptions": {
"canPickMany": true,
"ignoreFocusOut": true,
"placeHolder": "Please select an option",
"title": "Parameter"
}
}
}
]
}