Tracy 2.12 adds a parallel markdown output layer to the PHP debugging toolkit, enabling AI agents to read error information without parsing HTML. When a browser-driving agent (via Playwright, Puppeteer, or Chrome DevTools MCP) is detected using navigator.webdriver, Tracy sends BlueScreen exceptions, Tracy Bar summaries, and dumps as markdown to the JS console. Additionally, every exception HTML log file now gets a .md sibling, allowing agents to batch-process production error logs. Custom panel authors can implement getAgentInfo() to expose markdown content to agents. The Nette plugin for Claude Code includes a tracy-debugging skill that instructs agents to read console messages after each request.

6m read timeFrom blog.nette.org
Post cover image
Table of contents
Two scenarios in practice1. Development with an agent in the browser2. Batch fixing of production errorsFor custom panel authors: getAgentInfo()How the agent is detectedGive it a try
5.1K Impressions