From 304d1f2712d051de85c9e64025ccec0d560981e3 Mon Sep 17 00:00:00 2001 From: Olcan Date: Mon, 28 Apr 2025 12:44:34 -0700 Subject: 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 --- .vscode/launch.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.vscode/launch.json') 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": ["/**"], "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" }, { -- cgit v1.2.3