Skip to content

Commit

Permalink
Added launch.json for local debugging with VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbins228 committed Oct 24, 2023
1 parent 1d5c85d commit 38dfca9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ bundle.Dockerfile
*~

.DS_STORE

# VSCode
.vscode
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug CodeFlare Operator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/main.go",
"env": {
"KUBECONFIG": "</path/to/your/kube/config>",
"NAMESPACE": "<namespace>",
},
"showLog": true
},
]
}

0 comments on commit 38dfca9

Please sign in to comment.