Jacob314/max old space (#1314)

This commit is contained in:
Jacob Richman
2025-06-24 21:18:55 +00:00
committed by GitHub
parent a411c415a8
commit 75ed7aaa06
4 changed files with 83 additions and 6 deletions

View File

@@ -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) => {