Skip to content

debug-toolbar for frontend development #1313

Closed
@psacawa

Description

@psacawa

Hi, and thank you all for developing this fundamental django app.

I am wondering if any one has found a good way to use debug toolbar when django plays the role of the application backend, and gets accessed only via AJAX. Because the backend returns only JSON, you can't render the panels for each request. I was thinking of augmenting the middleware to store the request data in a cache, and create a separate view to display the list of recent requests to the backend in isolation.

I am interested in hearing how have people addressed this situation in the past. The documentation and other issues don't suggest anything about this. At least when I try to manually access __debug__, no match is found. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions