Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 49e1c1f

Browse files
authored
Agent Debug: Remove dead code and default file logging to off (#4400)
* Chat Debug: Remove dead code and turn off flag by default * rename * migrate * test fix
1 parent f488815 commit 49e1c1f

13 files changed

Lines changed: 15 additions & 2371 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4525,21 +4525,21 @@
45254525
"onExp"
45264526
]
45274527
},
4528-
"github.copilot.chat.chatDebug.fileLogging.enabled": {
4528+
"github.copilot.chat.agentDebugLog.fileLogging.enabled": {
45294529
"type": "boolean",
4530-
"default": true,
4531-
"markdownDescription": "%github.copilot.config.chatDebug.fileLogging.enabled%",
4530+
"default": false,
4531+
"markdownDescription": "%github.copilot.config.agentDebugLog.fileLogging.enabled%",
45324532
"tags": [
45334533
"advanced",
45344534
"experimental",
45354535
"onExp"
45364536
]
45374537
},
4538-
"github.copilot.chat.chatDebug.fileLogging.flushIntervalMs": {
4538+
"github.copilot.chat.agentDebugLog.fileLogging.flushIntervalMs": {
45394539
"type": "number",
45404540
"default": 4000,
45414541
"minimum": 2000,
4542-
"markdownDescription": "%github.copilot.config.chatDebug.fileLogging.flushIntervalMs%",
4542+
"markdownDescription": "%github.copilot.config.agentDebugLog.fileLogging.flushIntervalMs%",
45434543
"tags": [
45444544
"advanced",
45454545
"experimental"

package.nls.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@
373373
"github.copilot.config.editRecording.enabled": "Enable edit recording for analysis.",
374374
"github.copilot.config.inlineChat.selectionRatioThreshold": "Threshold at which to switch editing strategies for inline chat. When a selection porition of code matches a parse tree node, only that is presented to the language model. This speeds up response times but might have lower quality results. Requires having a parse tree for the document and the `inlineChat.enableV2` setting. Values must be between 0 and 1, where 0 means off and 1 means the selection perfectly matches a parse tree node.",
375375
"github.copilot.config.debug.requestLogger.maxEntries": "Maximum number of entries to keep in the request logger for debugging purposes.",
376-
"github.copilot.config.chatDebug.fileLogging.enabled": "Enable writing chat debug events to JSONL files on disk for diagnostics. When disabled, the built-in `troubleshoot` skill is also disabled. Requires VS Code reload.",
377-
"github.copilot.config.chatDebug.fileLogging.flushIntervalMs": "How often (in milliseconds) buffered debug log entries are flushed to disk. Lower values provide more up-to-date logs at the cost of more frequent disk writes.",
376+
"github.copilot.config.agentDebugLog.fileLogging.enabled": "Enable writing chat debug events to JSONL files on disk for diagnostics. When disabled, the built-in `troubleshoot` skill is also disabled. Requires VS Code reload.",
377+
"github.copilot.config.agentDebugLog.fileLogging.flushIntervalMs": "How often (in milliseconds) buffered debug log entries are flushed to disk. Lower values provide more up-to-date logs at the cost of more frequent disk writes.",
378378
"github.copilot.config.inlineEdits.diagnosticsContextProvider.enabled": "Enable diagnostics context provider for next edit suggestions.",
379379
"github.copilot.config.inlineEdits.chatSessionContextProvider.enabled": "Enable chat session context provider for next edit suggestions.",
380380
"github.copilot.config.codesearch.agent.enabled": "Enable code search capabilities in agent mode.",

src/extension/agentDebug/common/agentDebugEventService.ts

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/extension/agentDebug/common/agentDebugTypes.ts

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)