Skip to content

Agent Debug Logs

Ji edited this page Jun 29, 2026 · 1 revision

To start using agent debug logs, start by enabling it in Settings -> GitHub Copilot -> Chat -> Enable Agent Debug File Logging

image

As agent debug logs is only supported by the Copilot CLI agent provider, make sure you are in a Copilot CLI session. Open it in the top right corner of GitHub Copilot Chat.

image

Agent debug logs will show in the center of your JetBrains IDE. Click on the session you want to investigate.

image

An overview page will show summaries of model turn, tool calls, token usage, etc. Click on View Log to view detailed logs.

image

The detailed logs shows information for model turns, tool calls, subagent invocations, and other useful information.

image

To better locate what you are looking for, You can filter by data type

image

or create filters by text or timestamp.

Filter text by inputting keywords you are looking for, or exclude logs with keywords by using the ! prefix, e.g., !view would hide logs containing the view keyword.

Filter timestamp by using the before: or after: prefix.

image

You can click on a specific log item to view more details.

image

Clone this wiki locally