summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorOlcan <[email protected]>2025-04-28 12:44:34 -0700
committerGitHub <[email protected]>2025-04-28 12:44:34 -0700
commit304d1f2712d051de85c9e64025ccec0d560981e3 (patch)
tree4b20426a2c9fed24af1bcb277101d7435bd7208e /.vscode
parentdfa46df474b474af0f0c27758a11e70ceb6ab695 (diff)
env flags SANDBOX_{MOUNTS,ENV}, improved debugging through sandbox that should now work in all scenarios (#201)
* env flags SANDBOX_{MOUNTS,ENV}, improved debugging through sandbox that should now work in all scenarios * Merge remote-tracking branch 'origin/main' into sandbox_flags_improved_debugging
Diffstat (limited to '.vscode')
-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"
},
{