Skip to content

[NFR]: Enable the debug bar in the ADR app (dev-only reference integration) #38

Closed

Description

@niden

Summary

phalcon/vokuro-adr depends on phalcon/debugbar but does not use it. Once the debug bar supports non-MVC apps, wire it into AppFront (development only), replacing the dead dependency. This is the reference integration that validates ADR support and demonstrates that ADR is viable for HTML apps, not only JSON.

Current state

  • phalcon/debugbar is listed in require but appears nowhere in the app.
  • The former README "Debug Bar" section was removed during the ADR rewrite.

Proposed direction

  • In AppFront, boot the bar via the framework-neutral seam, enabled only when APP_ENV is a development environment.
  • Attach the response injection at the ADR emission point (APPLICATION_AFTER_HANDLE or the emitter), feeding it the container-resolved request / session / config.
  • Configure the collectors to the ADR sources (DataMapper DB, Simple view, ADR route).
  • Confirm the bar renders on an HTML page (e.g. the users list), and stays absent for JSON error responses and in production.

Acceptance

  • The debug bar renders on HTML pages in development, and is absent in production and for JSON responses.
  • No Phalcon\Di\DiInterface enters the delivery ring.

Depends on

  • Tickets 1-3 (the debug bar framework-neutral seam, collector decoupling, and ADR source adapters).

Notes

  • Repo: phalcon/vokuro-adr.
  • Part of the "Debug bar for ADR / non-MVC apps" effort.

Activity

  1. self-assigned this
    on Nov 3, 2026
  2. added theissue type on Nov 3, 2026
  3. niden commented on Nov 3, 2026

    @niden
    SponsorMemberAuthor
  4. moved this from Backlog to Unverified - Wont Fix - Duplicates in Phalcon v5on Nov 3, 2026
  5. moved this from Unverified - Wont Fix - Duplicates to Implemented in Phalcon v5on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

  • Status
    Implemented

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions