summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-05-17 21:38:37 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-05-17 21:38:37 +1000
commit2fe286f395f71498a99caf69fd1244dc8f330193 (patch)
tree979279982d612d1d3bcfa78410afc7c3b0127cd6 /.vscode
parentf31dcd3091b2b23562bb10afd7c27b6400e9d39a (diff)
add launch.json
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json15
1 files changed, 15 insertions, 0 deletions
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
+ }
+ ]
+}