mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-12 02:50:41 -07:00
feat: Patch console.debug and display only in debug mode
- Patches `console.debug` in `ConsolePatcher.tsx` to capture debug messages. - Updates `ConsoleOutput` to only display debug messages when `debugMode` is enabled. - Passes `debugMode` prop from `App.tsx` to `ConsoleOutput`. Fixes https://github.com/google-gemini/gemini-cli/issues/397
This commit is contained in:
committed by
N. Taylor Mullen
parent
76e2970a57
commit
f6eede813e
@@ -409,7 +409,7 @@ export const App = ({
|
||||
cliVersion={cliVersion}
|
||||
geminiMdFileCount={geminiMdFileCount}
|
||||
/>
|
||||
<ConsoleOutput />
|
||||
<ConsoleOutput debugMode={config.getDebugMode()} />
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user