mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-20 18:14:29 -07:00
enable debugging through sandbox (#88)
This commit is contained in:
+5
-1
@@ -25,5 +25,9 @@ if [[ "${GEMINI_CODE_SANDBOX:-}" =~ ^(1|true)$ ]] || \
|
||||
scripts/start_sandbox.sh "$@"
|
||||
else
|
||||
echo "WARNING: running outside of sandbox. Set GEMINI_CODE_SANDBOX to enable sandbox."
|
||||
node node_modules/@gemini-code/cli "$@"
|
||||
if [ -n "${DEBUG:-}" ]; then
|
||||
node --inspect-brk node_modules/@gemini-code/cli "$@"
|
||||
else
|
||||
node node_modules/@gemini-code/cli "$@"
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user