-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlaunch.json
38 lines (38 loc) · 1.01 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
35
36
37
38
{
"version": "0.2.0",
"configurations": [
{
"name": "Run as root",
"type": "go",
"request": "launch",
"mode": "exec",
"program": "${workspaceFolder}/bin/harpoon",
"asRoot": true,
"console": "integratedTerminal",
"args": ["capture",
"-f",
"main.main",
"-i",
"1",
"--",
"./test/testcases/example-app/bin/example-app",
"coin"
]
},
{
"name": "Run hunt as root",
"type": "go",
"request": "launch",
"mode": "exec",
"program": "${workspaceFolder}/bin/harpoon",
"cwd": "./tests/testcases/example-app/",
"asRoot": true,
"console": "integratedTerminal",
"args": ["hunt",
"-F",
"harpoon-report.yml",
"-c"
]
}
]
}