How to enable debug logging for Copilot plugin in JetBrains IDEs - microsoft/copilot-intellij-feedback GitHub Wiki

Debug logs can be enabled in the following way:

  • Navigate to Help | Diagnostic Tools | Debug Log Settings...
    • image
  • Add log level instructions for Copilot, for example: com.github.copilot:trace or com.github.copilot:debug
    • image
  • Reproduce the issue and collect idea.log (Help | Show Log in Finder/Explorer or Help | Collect Logs and Diagnostic Data)

Logging levels

  • debug (correlates to fine)
  • trace (correlates to finer)
  • all (all messages are logged, so it is a logging level of maximal granularity)

More from JetBrains.