Skip to content

debug-toolbar for frontend development #1313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
psacawa opened this issue Sep 4, 2020 · 1 comment
Closed

debug-toolbar for frontend development #1313

psacawa opened this issue Sep 4, 2020 · 1 comment

Comments

@psacawa
Copy link
Contributor

psacawa commented Sep 4, 2020

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.

@tim-schilling
Copy link
Member

This has been added to the repository in #1250, but hasn't been released yet.

Closing this issue in favor of #1032 and #998.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants