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
This commit is contained in:
Olcan
2025-04-28 12:44:34 -07:00
committed by GitHub
parent 86d4d992a4
commit b7987bcf12
3 changed files with 116 additions and 44 deletions
+3 -5
View File
@@ -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"
},
{