From d2585b655f8652efe7193f3605457177db48087c Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Wed, 4 Mar 2020 10:30:42 +0200 Subject: [PATCH] Improve debug configuration. Add debug binary to .gitignore (#183) Signed-off-by: Oleksandr Andriienko --- .gitignore | 1 + .vscode/launch.json | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index b5342ff08..e00360432 100644 --- a/.gitignore +++ b/.gitignore @@ -80,6 +80,7 @@ anaconda-mode/ *.dll *.so *.dylib +cmd/manager/__debug_bin # Test binary, build with 'go test -c' *.test diff --git a/.vscode/launch.json b/.vscode/launch.json index 88b7c617e..8dd6d931c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,6 +2,14 @@ "version": "0.2.0", "configurations": [ { + "useApiV1": false, + "dlvLoadConfig": { + "followPointers": true, + "maxVariableRecurse": 1, + "maxStringLen": 3000, + "maxArrayValues": 100, + "maxStructFields": -1 + }, "name": "Che Operator", "type": "go", "request": "launch",