1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-02 09:21:40 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Stefan Haller
b6c892a08a Provide a simple way to debug an integration test 2023-09-11 08:17:58 +02:00
Stefan Haller
28d12e4e5d Add debug configuration to attach to a running lazygit process
I often find it more convenient to start a lazygit process in a terminal window
and then attach to it, rather than have VS Code launch one for me.

Note that this doesn't work with "go run main.go". It does work with "make run",
however.

Make sure there's only one lazygit process running, otherwise VS Code will open
a chooser with all the running processes to pick one from, but it's pretty much
impossible to tell which is which.
2023-09-10 11:47:25 +02:00
Stefan Haller
de598e55a6 Hide system goroutines in callstack
I have never found a reason to see them, and they just pollute the stack window
unnecessarily.
2023-09-10 11:47:25 +02:00
Stefan Haller
0fd8392067 Format launch.json with Prettier 2023-09-10 11:47:25 +02:00
Stefan Haller
fc2f8b7b20 Make debugger config work when changing repos while debugging
When changing repos while debugging, the current working directory changes,
which means that a daemon lazygit doesn't find the debugger_config.yml file any
more when you do an interactive rebase. Fix this by using an absolute path for
the --use-config-file option.
2023-04-04 10:26:42 +02:00
Jesse Duffield
e28d1334e9 better debug setup 2022-05-17 22:14:24 +10:00
Jesse Duffield
95e816ae91 remove commented out line 2022-05-17 21:52:14 +10:00
Jesse Duffield
e89d817d78 update launch.json 2022-05-17 11:45:47 +00:00
Jesse Duffield
2fe286f395 add launch.json 2022-05-17 21:38:37 +10:00