Summary of "Review agents work with Agent Debug Logs and Chat Debug View | Ep 5 of 6 - VS Code Learn"

Short summary

A walkthrough of the VS Code + GitHub Copilot extension tooling for inspecting agent behavior: Agent Debug Logs and Chat Debug View. The video demonstrates how to find per-session logs, inspect calls to LLMs, and use built-in tools to troubleshoot unexpected agent behavior.

Key concepts and product features

Agent Debug Logs

Chat Debug View

Troubleshooting features and workflow

Practical guide / steps shown in the video

  1. Open a chat session in VS Code (GitHub Copilot extension).
  2. Click the session three-dot menu → Show Agent Debug Logs to view session logs.
  3. Inspect loading entries to confirm custom skills and their file sources.
  4. Use the Session list to view summary stats (model turns, tokens, errors).
  5. Open the Agent Flow Chart to trace execution flow and click nodes for details.
  6. Click Show Chat Debug View to see raw request/response JSON and system/user messages.
  7. Hover/click individual calls to see model, token counts, and latency.
  8. Run troubleshooting commands (e.g., /troubleshoot) to get automated analysis (where skills loaded from, context breakdown).
  9. Review token usage and context compaction behavior to optimize prompts and token consumption.

Analysis / takeaways

Main speakers / sources

Category ?

Technology


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video