mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
Jacob314/max old space (#1314)
This commit is contained in:
parent
a411c415a8
commit
75ed7aaa06
4 changed files with 83 additions and 6 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue