chore: launch.json args syntax

This commit is contained in:
lnu 2020-12-28 14:32:04 +01:00 committed by Jan De Dobbeleer
parent d0055682ad
commit 36e69a1f7e

14
.vscode/launch.json vendored
View file

@ -10,7 +10,7 @@
"request": "launch", "request": "launch",
"mode": "debug", "mode": "debug",
"program": "${workspaceRoot}/src", "program": "${workspaceRoot}/src",
"args": ["-config=${workspaceRoot}/themes/jandedobbeleer.omp.json"] "args": ["--config=${workspaceRoot}/themes/jandedobbeleer.omp.json"]
}, },
{ {
"name": "Launch tests", "name": "Launch tests",
@ -18,7 +18,7 @@
"request": "launch", "request": "launch",
"mode": "test", "mode": "test",
"program": "${workspaceRoot}/src", "program": "${workspaceRoot}/src",
"args": ["-test.v"] "args": ["--test.v"]
}, },
{ {
"name": "Print debug", "name": "Print debug",
@ -28,7 +28,7 @@
"program": "${workspaceRoot}/src", "program": "${workspaceRoot}/src",
"args": [ "args": [
"--debug", "--debug",
"-config=${workspaceRoot}/themes/jandedobbeleer.omp.json" "--config=${workspaceRoot}/themes/jandedobbeleer.omp.json"
] ]
}, },
{ {
@ -37,7 +37,11 @@
"request": "launch", "request": "launch",
"mode": "debug", "mode": "debug",
"program": "${workspaceRoot}/src", "program": "${workspaceRoot}/src",
"args": ["--print-init","-shell=pwsh","-config=${workspaceRoot}/themes/jandedobbeleer.omp.json"] "args": [
}, "--print-init",
"--shell=pwsh",
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json"
]
}
] ]
} }