milton/vibedebug-bundle

Bundle for vibedebugging (integrated with symfony/ai)

0.1.1 2025-09-28 20:11 UTC

This package is auto-updated.

Last update: 2025-09-28 20:14:17 UTC


README

VibedebugBundle is a Symfony bundle for “vibe debugging” your applications using AI agents. It automatically collects exceptions and allows you to send them to AI agents for analysis and suggestions directly in Symfony Profiler.

Features

  • Creating of Markdown prompts for debugging via LLM.
  • Sending prompts to AI within profiler panel (integration with symfony/ai-bundle).
  • Export MD prompt by profiler token with controller (available at route /_vibedebug/{token}/prompt)

Installation

  1. composer require milton/vibedebug-bundle --dev
    The bundle is recommended to use only in a dev environment.
  2. Enable the bundle.
    // config/bundles.php
    return [
        // ...
        Milton\VibedebugBundle\VibedebugBundle::class => ['dev' => true],
    ];
  3. Import routes.
    # config/routes/dev/vibedebug.yaml
    vibedebug:
        resource: '@VibedebugBundle/config/routes.yaml'

Integration with symfony/ai-bundle

Configure you AI agents with symfony/ai-bundle so you can send them prompts directly from the vibedebug profiler panel.

Customizing the prompt

To customize the prompt you have to override the template prompt.md.twig.
How to override a template