diff options
| author | Jacob Richman <[email protected]> | 2025-06-24 21:18:55 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-24 14:18:55 -0700 |
| commit | 75ed7aaa064e497df81e6aabc8025c5688580da4 (patch) | |
| tree | 6443ce9ba35fe54089579959b886f98fc8373b33 /scripts | |
| parent | a411c415a808fa433aeaf79f3776556269906f57 (diff) | |
Jacob314/max old space (#1314)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/start.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/start.js b/scripts/start.js index 6a5445f3..373fe8c8 100644 --- a/scripts/start.js +++ b/scripts/start.js @@ -64,6 +64,11 @@ const env = { DEV: 'true', }; +if (process.env.DEBUG) { + // If this is not set, the debugger will pause on the outer process rather + // than the relauncehd process making it harder to debug. + env.GEMINI_CLI_NO_RELAUNCH = 'true'; +} const child = spawn('node', nodeArgs, { stdio: 'inherit', env }); child.on('close', (code) => { |
