2022-05-17 13:38:37 +02:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
2022-05-17 14:14:24 +02:00
|
|
|
"name": "Debug Lazygit",
|
2022-05-17 13:38:37 +02:00
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
|
|
|
"program": "main.go",
|
2023-04-04 10:26:42 +02:00
|
|
|
"args": ["--debug", "--use-config-file=${workspaceFolder}/.vscode/debugger_config.yml"],
|
2022-05-17 14:14:24 +02:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"presentation": {
|
|
|
|
"hidden": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Tail Lazygit logs",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
|
|
|
"program": "main.go",
|
2023-04-04 10:26:42 +02:00
|
|
|
"args": ["--logs", "--use-config-file=${workspaceFolder}/.vscode/debugger_config.yml"],
|
2022-05-17 14:14:24 +02:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"presentation": {
|
|
|
|
"hidden": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Run with logs",
|
|
|
|
"configurations": ["Tail Lazygit logs", "Debug Lazygit"],
|
|
|
|
"stopAll": true
|
2022-05-17 13:38:37 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|