We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d0260 commit df5cdcaCopy full SHA for df5cdca
.vscode/launch.json
@@ -3,14 +3,25 @@
3
// Hover to view descriptions of existing attributes.
4
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
"version": "0.2.0",
6
+ "inputs": [
7
+ {
8
+ "id": "backend",
9
+ "type": "pickString",
10
+ "description": "Choose a backend",
11
+ "default": "memory",
12
+ "options": ["mysql", "sqlite", "redis", "memory"]
13
+ }
14
+ ],
15
"configurations": [
-
16
{
17
"name": "Current sample",
18
"type": "go",
19
"request": "launch",
20
"mode": "debug",
- "program": "${fileDirname}"
21
+ "program": "${fileDirname}",
22
+ "args": [
23
+ "-backend", "${input:backend}",
24
+ ]
25
},
26
27
"name": "Launch simple sample",
0 commit comments