mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
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:
parent
dfa46df474
commit
304d1f2712
3 changed files with 116 additions and 44 deletions
8
.vscode/launch.json
vendored
8
.vscode/launch.json
vendored
|
|
@ -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"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue