-
Notifications
You must be signed in to change notification settings - Fork 1
/
launch.json
34 lines (33 loc) · 1.59 KB
/
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
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"tasks": [
{
"label": "SetEnvVariablesTask",
"type": "shell",
"command": "source ${workspaceFolder}/.env.sh",
"group": {
"kind": "build",
"isDefault": true
}
}
],
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}",
"env": {"LOG_LEVEL": "debug"},
// "env": {"LOG_LEVEL": "warn"},
// "env": {"LOG_LEVEL": "error"},
// "env": {"LOG_LEVEL": "info"},
"envFile": "${workspaceFolder}/.env.sh",
"args": ["-subscriptionID","${env:SUBSCRIPTION_ID}", "-spClientID","${env:SP_CLIENT_ID}","-spClientSecret","${env:SP_CLIENT_SECRET}","-tenantID","${env:TENANT_ID}", "-templateFile","${env:TEMPLATE_FILE}","-parametersFile","${env:PARAMETERS_FILE}"]
// "args": ["-jsonOutput","true","-subscriptionID","${env:SUBSCRIPTION_ID}","-resourceGroupName","${env:TEST_DEPLOYMENT_RESOURCE_GROUP_NAME}", "-deploymentNamePfx","${env:TEST_DEPLOYMENT_NAME_PFX}", "-spClientID","${env:SP_CLIENT_ID}","-spClientSecret","${env:SP_CLIENT_SECRET}","-tenantID","${env:TENANT_ID}", "-templateFile","${env:TEMPLATE_FILE}","-parametersFile","${env:PARAMETERS_FILE}"]
}
]
}