mgood/flask-debugtoolbar — pull request #26 by evoloshchuk (2012-04-17 09:11:26+00:00)
Title: Debugging of ajax and saving reports

This patch makes it possible to debug ajax calls and json/javascript based api calls together with facilities to force debugging and saving reports (slow ones for example) somewhere.

New config variables:

DEBUG_TB_FORCE_DEBUG_PARAMETER - specifies GET parameter to force debugtoolbar activation. Might be used for debugging ajax request and json/javascript-typed responses.

DEBUG_TB_DUMP_CALLBACK - if set enables profiling (but not showing debugtoolbar) for all requests. Specifies function that will be called after each request with toolbar html provided.