From 38dfca99ac3d496c4460ed55c9eec113ab310ceb Mon Sep 17 00:00:00 2001 From: Bobbins228 Date: Tue, 24 Oct 2023 17:19:23 +0100 Subject: [PATCH] Added launch.json for local debugging with VSCode --- .gitignore | 3 +++ .vscode/launch.json | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 898d0779..b72c3873 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,6 @@ bundle.Dockerfile *~ .DS_STORE + +# VSCode +.vscode \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..03ae8c01 --- /dev/null +++ b/.vscode/launch.json @@ -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": "", + "NAMESPACE": "", + }, + "showLog": true + }, + ] + } \ No newline at end of file