summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json8
1 files changed, 3 insertions, 5 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index cc8b3ef6..b4cdfd70 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -10,11 +10,9 @@
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"type": "node",
- // fix source mapping when debugging in sandbox
- // we assume debugging is done on gemini-code project itself (see CLI_PATH setup in start_sandbox.sh)
- // there seems to be no way to map two distinct remoteRoots to same localRoot under same configuration
- // "remoteRoot": "/usr/local/share/npm-global/lib/node_modules/@gemini-code",
- "remoteRoot": "/sandbox/gemini-code/packages",
+ // fix source mapping when debugging in sandbox using global installation
+ // note this does not interfere when remoteRoot is also ${workspaceFolder}/packages
+ "remoteRoot": "/usr/local/share/npm-global/lib/node_modules/@gemini-code",
"localRoot": "${workspaceFolder}/packages"
},
{