You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/copilot/chat/chat-debug-view.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Visual Studio Code provides tools to help you understand what happens when you s
10
10
11
11
VS Code offers two complementary debugging tools:
12
12
13
-
***Agent Debug panel** (Preview) shows a chronological event log of everything that happens during a chat session, including tool calls, LLM requests, prompt file discovery, and errors.
13
+
***Agent Debug Log panel** (Preview) shows a chronological event log of everything that happens during a chat session, including tool calls, LLM requests, prompt file discovery, and errors.
14
14
***Chat Debug view** shows the raw details of each LLM request and response, including the full system prompt, user prompt, context, and tool invocation payloads.
15
15
16
16
## Agent Debug Log panel
@@ -24,7 +24,7 @@ To open the Agent Debug Logs panel:
Copy file name to clipboardExpand all lines: docs/copilot/troubleshooting.md
+7-24Lines changed: 7 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,22 +40,24 @@ For more information about network configuration, see [Network and firewall conf
40
40
41
41
## Debug chat interactions
42
42
43
-
VS Code provides tools to inspect what happens when you send a prompt to the AI.
43
+
VS Code provides different tools to inspect what happens when you send a prompt to the AI.
44
44
45
45
***`/troubleshoot` slash command:**
46
46
47
47
Ask the AI to analyze the debug logs for the current chat session. Type `/troubleshoot` followed by your question, such as `/troubleshoot how many tokens did I use?` or `/troubleshoot list all paths you tried to load customizations`. Requires `setting(github.copilot.chat.agentDebugLog.enabled)` to be enabled.
48
48
49
-
***Agent Debug panel (Preview):**
49
+
***Agent Debug Log panel (Preview):**
50
50
51
51
Shows a chronological event log of agent interactions during a chat session, including tool call sequences, LLM requests, token usage, prompt file discovery, and errors. This is the primary tool for understanding and debugging chat interactions.
52
52
53
-
To open the Agent Debug panel:
53
+
To open the Agent Debug Log panel:
54
54
55
55
1. Select the gear icon in the Chat view.
56
56
1. Select **Show Agent Debug Logs**.
57
57
58
-
From the Agent Debug panel, you can attach a snapshot of the agent debug events to a chat conversation to ask the AI questions about the session and troubleshoot a specific interaction. Select the sparkle icon in the Logs view to [attach debug events to chat](/docs/copilot/chat/chat-debug-view.md#attach-debug-events-to-chat).
58
+
From the Agent Debug Log panel, you can attach a snapshot of the agent debug events to a chat conversation to ask the AI questions about the session and troubleshoot a specific interaction.
59
+
60
+
Learn more about the [Agent Debug Log panel](/docs/copilot/chat/chat-debug-view.md#agent-debug-log-panel).
59
61
60
62
***Chat Debug view:**
61
63
@@ -66,26 +68,7 @@ VS Code provides tools to inspect what happens when you send a prompt to the AI.
66
68
1. Select the overflow menu (`...`) in the Chat view.
67
69
1. Select **Show Chat Debug View**.
68
70
69
-
Learn more about [debugging chat interactions](/docs/copilot/chat/chat-debug-view.md).
70
-
71
-
## Chat customization diagnostics
72
-
73
-
The chat customization diagnostics view shows all currently loaded custom agents, prompt files, instruction files, and skills. Use this view to troubleshoot issues with customization files that aren't being applied or are causing errors.
74
-
75
-
To open the diagnostics view:
76
-
77
-
1. Right-click in the Chat view.
78
-
1. Select **Diagnostics**.
79
-
80
-
This opens a markdown document listing:
81
-
82
-
* All active customization files and their locations
83
-
* Load status for each file (loaded, failed, or skipped)
84
-
* Error messages for files that failed to load
85
-
* The order in which instructions are applied
86
-
87
-
> [!TIP]
88
-
> If a customization file isn't being applied, check the diagnostics view to verify it was loaded successfully and review any error messages.
71
+
Learn more about the [Chat Debug view](/docs/copilot/chat/chat-debug-view.md#chat-debug-view).
0 commit comments