News

As Agentic AI Explodes, Microsoft Announces MS365 Copilot Agent Debugging

Microsoft announced agent debugging functionality for Microsoft 365 Copilot directly from the AI tool itself, no Visual Studio 2022 or Visual Studio Code needed.

Agentic AI is dominating AI these days, but it didn't allow for easy debugging. Debugging AI agents is challenging due to their unpredictable behavior, reliance on external inputs, and limited visibility into their decision-making processes. Issues can arise from integration failures, data misalignment, or model configurations, making it difficult to trace errors.

While debugging has generally been the province of IDEs and code editors, Microsoft's approach for debugging agents in Microsoft 365 uses the tool itself from within one of the softwares such as Word, Excel, Outlook and so on.

The process is somewhat akin to browser-based dev tools that are opened up with a command. All users have to do within one of the Microsoft 365 apps is type the -developer on command from the Copilot interface.

-developer on
[Click on image for larger view.] -developer on (source: Microsoft).

"We're excited to announce the general availability of the agent debugging experience, now live in Microsoft 365 Copilot," said Microsoft's Carol Mbasinge Kigoonya in an April 9 post. "This milestone significantly enhances your debugging capabilities, observability, and troubleshooting for agents, empowering developers with improved tools to streamline their workflows."

Along with an introductory video, the announcement mostly consists of a bullet-point list of key features:

  • Agent configuration insights
    • Agent capabilities: Quickly identify active capabilities and their configurations.
    • Knowledge scopes: Easily understand the data and resources accessible at runtime.
    • Agent actions: View clearly detailed action configurations, function matching, and execution details, similar to previously supported plugin insights. This transparency helps ensure your agents perform as expected.
  • Improved execution and performance monitoring
    • Success & failure insights: Quickly identify and troubleshoot issues by monitoring capability and action outcomes.
    • Execution details: Gain a better understanding of your agents' performance by tracking execution details and result count to optimize workflows.
    • API plugin response details: Access important API plugin response details, including endpoints and headers (with redacted authentication tokens), to troubleshoot more effectively.
  • Observability & troubleshooting tools
    • Agent ID and conversation ID tracking: Easily track interactions using standardized identifiers (titleId.manifestId and Conversation ID), improving visibility and troubleshooting.
    • Latency information: Identify and address performance bottlenecks quickly with detailed API plugin latency insights.
    • Simplified collaboration: Share debugging details effortlessly using the Quick Copy Debugging JSON features.

More information is available in Debug an agent with developer mode documentation.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • .NET 11 Preview 5 Focuses on Performance, Productivity and Safer Code

    .NET 11 Preview 5 focuses on under-the-hood runtime performance gains, streamlined APIs and language features that reduce boilerplate, plus built‑in security checks and incremental ASP.NET Core and EF Core improvements aimed at everyday developer productivity.

  • VS Code 1.124 Focuses on Agent Autonomy and Parallel Sessions

    Microsoft's June 2026 VS Code update turns on Autopilot by default and adds background sending for agent sessions.

  • Developing Agentic Systems in .NET: From Concept to Code

    ZioNet founder Alon Fliess previews his Visual Studio Live! San Diego session on building true agentic systems in .NET -- covering the cognitive loop, MCP tool integration, multi-agent orchestration and enterprise hosting and governance with the Microsoft Agent Framework.

  • Mastering AI Development and Building AI Apps with GitHub Copilot

    Two Microsoft experts explain how GitHub Copilot is evolving from a coding assistant into a broader platform for building, customizing and testing AI-powered developer workflows.

Subscribe on YouTube