Skip to content

Commit e3ac749

Browse files
authored
Merge pull request #2274 from mahendrabagul/add-debug-config
Added config in launch.json to debug devspace cli
2 parents 47cc851 + 3131a6f commit e3ac749

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4+
{
5+
"name": "Debug cli",
6+
"type": "go",
7+
"request": "launch",
8+
"mode": "debug",
9+
"program": "${workspaceRoot}/main.go",
10+
"cwd": "${workspaceRoot}",
11+
"args": ["dev"],
12+
"env": {
13+
"DEVSPACE_CONFIG": "devspace.yaml"
14+
}
15+
},
416
{
517
"name": "Launch e2e tests",
618
"type": "go",

0 commit comments

Comments
 (0)