1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-28 09:08:41 +02:00

add launch.json

This commit is contained in:
Jesse Duffield 2022-05-17 21:38:37 +10:00
parent f31dcd3091
commit 2fe286f395
2 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@ -26,6 +26,7 @@ lazygit.exe
!.golangci.yml
!.circleci/
!.github/
!.vscode/
# these are for our integration tests
!.git_keep

15
.vscode/launch.json vendored Normal file
View File

@ -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
}
]
}