From 75ed7aaa064e497df81e6aabc8025c5688580da4 Mon Sep 17 00:00:00 2001 From: Jacob Richman Date: Tue, 24 Jun 2025 21:18:55 +0000 Subject: Jacob314/max old space (#1314) --- scripts/start.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') 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) => { -- cgit v1.2.3