Mail, logs, Insights, and debugging
See what your application does while you develop.
Local mail
Mail captures development SMTP messages. Use the actual local connection settings:
yard mail:config
yard mail:list
yard mail:latest
Inspect recipients, bodies, attachments, and links. Project isolation separates the mailbox when the app already uses Yard SMTP; it does not replace existing external transports.
Logs and Insights
Logs follows site logs. Insights groups entries by request to find N+1 queries, duplicates, errors, and slow requests.
yard logs
yard insights:status
yard insights:list
yard insights:analyze
Capture can be enabled or disabled. Runtime context may contain project data; review what you share with AI tools.
Xdebug, SPX, and Tinker
Yard provides verified Xdebug and SPX modules for every downloadable PHP version: 8.0–8.5 on Apple Silicon (NTS). Update an existing PHP 8.0 installation in Yard before installing its modules. See the compatibility guide.
yard php:extensions
yard help debug
yard help profile
See extension compatibility. yard tinker starts a project session and opens Tinkerwell if installed. Tinker executes app code: check the database connection before changing data.