From afaee3dedbb9c0d609e0737b68d231783c087ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Mon, 10 Oct 2022 15:50:04 +0200 Subject: [PATCH] chore: add launch.json for vscode debugging (#4856) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché Co-authored-by: Vyankatesh Kudtarkar --- .gitignore | 1 - .vscode/launch.json | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 756599b71a..6f7d7c261b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ certs Gopkg.lock -.vscode gh-pages/public _output coverage.txt diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..1846d6c901 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Launch Kyverno", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}/cmd/kyverno", + "args": [ + "--kubeconfig=${userHome}/.kube/config", + "--serverIP=:9443", + ], + } + ] +} \ No newline at end of file