mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 15:31:27 +00:00
feat(core,cli): migrate console.debug to debugLogger (M3 Phase 1-3)
This commit is contained in:
parent
ba2824b0b0
commit
3959b73bce
63 changed files with 554 additions and 538 deletions
|
|
@ -31,6 +31,9 @@ import { promisify } from 'node:util';
|
|||
import { isKittyProtocolEnabled } from './kittyProtocolDetector.js';
|
||||
import { VSCODE_SHIFT_ENTER_SEQUENCE } from './platformConstants.js';
|
||||
import { t } from '../../i18n/index.js';
|
||||
import { createDebugLogger } from '@qwen-code/qwen-code-core';
|
||||
|
||||
const debugLogger = createDebugLogger('TERMINAL_SETUP');
|
||||
|
||||
const execAsync = promisify(exec);
|
||||
|
||||
|
|
@ -96,7 +99,7 @@ async function detectTerminal(): Promise<SupportedTerminal | null> {
|
|||
return 'trae';
|
||||
} catch (error) {
|
||||
// Continue detection even if process check fails
|
||||
console.debug('Parent process detection failed:', error);
|
||||
debugLogger.debug('Parent process detection failed:', error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue