summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2023-04-04 10:26:42 +0200
committerStefan Haller <stefan@haller-berlin.de>2023-04-04 10:26:42 +0200
commitfc2f8b7b2051361ab96b9b1e16dc4ce0a105e776 (patch)
treee4789e6292176f4ccfbfab4efcccf789be5461b0 /.vscode
parenta02b54e1b7e7e8dd8bc1958c11ef4ee4df459ea4 (diff)
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.
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index a39309429..6bddacc40 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -7,7 +7,7 @@
"request": "launch",
"mode": "auto",
"program": "main.go",
- "args": ["--debug", "--use-config-file=.vscode/debugger_config.yml"],
+ "args": ["--debug", "--use-config-file=${workspaceFolder}/.vscode/debugger_config.yml"],
"console": "integratedTerminal",
"presentation": {
"hidden": true
@@ -19,7 +19,7 @@
"request": "launch",
"mode": "auto",
"program": "main.go",
- "args": ["--logs", "--use-config-file=.vscode/debugger_config.yml"],
+ "args": ["--logs", "--use-config-file=${workspaceFolder}/.vscode/debugger_config.yml"],
"console": "integratedTerminal",
"presentation": {
"hidden": true