mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 05:00:46 +00: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:
parent
e0b88dc8da
commit
e486d84d6a
2 changed files with 22 additions and 4 deletions
|
|
@ -409,7 +409,7 @@ export const App = ({
|
|||
cliVersion={cliVersion}
|
||||
geminiMdFileCount={geminiMdFileCount}
|
||||
/>
|
||||
<ConsoleOutput />
|
||||
<ConsoleOutput debugMode={config.getDebugMode()} />
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue