debug_toolbar.litestar.panels¶
Litestar-specific panels for the debug toolbar.
- class debug_toolbar.litestar.panels.EventsPanel(toolbar)[source]¶
Panel displaying Litestar lifecycle events and handlers.
Shows: - Application lifecycle hooks (on_startup, on_shutdown) - Request lifecycle hooks (before_request, after_request, after_response) - Exception handlers registered at app/controller/route level - Execution timing for hooks that ran during the request
Get the navigation subtitle.
- Return type:
- class debug_toolbar.litestar.panels.RoutesPanel(toolbar)[source]¶
Panel displaying Litestar application routes.
Shows: - All registered routes - HTTP methods for each route - Handler names - Route parameters
Get the navigation subtitle.
- Return type:
- class debug_toolbar.litestar.panels.StaticFilesPanel(toolbar)[source]¶
Panel displaying where an app’s static files are served from.
Shows the URL path and folder(s) on disk for every static file mount registered on the application (e.g. via
create_static_files_router). It does not track which static files a specific page actually loaded.Get the navigation subtitle.
- Return type: