mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
fc2f8b7b20
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.
37 lines
865 B
JSON
37 lines
865 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Lazygit",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "main.go",
|
|
"args": ["--debug", "--use-config-file=${workspaceFolder}/.vscode/debugger_config.yml"],
|
|
"console": "integratedTerminal",
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Tail Lazygit logs",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "main.go",
|
|
"args": ["--logs", "--use-config-file=${workspaceFolder}/.vscode/debugger_config.yml"],
|
|
"console": "integratedTerminal",
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Run with logs",
|
|
"configurations": ["Tail Lazygit logs", "Debug Lazygit"],
|
|
"stopAll": true
|
|
}
|
|
]
|
|
}
|