diff options
Diffstat (limited to 'scripts/start.js')
| -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) => { |
