From 2fe286f395f71498a99caf69fd1244dc8f330193 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 17 May 2022 21:38:37 +1000 Subject: [PATCH] add launch.json --- .gitignore | 1 + .vscode/launch.json | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index f20638ef9..7c00359d5 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ lazygit.exe !.golangci.yml !.circleci/ !.github/ +!.vscode/ # these are for our integration tests !.git_keep diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..1dfe99bce --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "debug lazygit", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "main.go", + "args": ["--debug"], + // "console": "integratedTerminal" // <-- you need this to actually see the lazygit UI in a window while debugging + "console": "externalTerminal" // <-- you need this to actually see the lazygit UI in a window while debugging + } + ] +}