-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
DebuggedApplication middleware could display local variables #1309
Comments
You can already do that by typing |
That seems like a security issue. Tying it to the console means you have to enter a pin before seeing that information. |
@davidism would it be reasonable to have it require the pin as well (i believe not having a python shell would limit the damage somebody that took the credentials could do while still enabling basic debugging) |
Yes, it would be a solution: when the pin is validated, each local variables would be inserted in the html. |
I think it would be nice to show local variables for each frame. It would be useful, especially if the debugger is disabled.
For the interface, the local variables could be in a block which would be folded and unfolded with javascript. (This behaviour is equivalent to the django debugger middlware.)
I plan to do a PR if you think it's a good idea.
The text was updated successfully, but these errors were encountered: