Skip to content

Commit 3885aef

Browse files
Added launch.json for local debugging with VSCode
1 parent 57568b5 commit 3885aef

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ bundle.Dockerfile
2929
*~
3030

3131
.DS_STORE
32+
33+
#VSCode
34+
.vscode

.vscode/launch.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Debug CodeFlare Operator",
6+
"type": "go",
7+
"request": "launch",
8+
"mode": "auto",
9+
"program": "${workspaceFolder}/main.go",
10+
"env": {
11+
"KUBECONFIG": "</path/to/your/kube/config>",
12+
"NAMESPACE": "<namespace>",
13+
},
14+
"showLog": true
15+
},
16+
]
17+
}

0 commit comments

Comments
 (0)