standalone exception handler #76

Closed
tilgovi opened this Issue Aug 24, 2012 · 3 comments

Comments

Projects
None yet
3 participants

tilgovi commented Aug 24, 2012

It might be nice to have an option to use pyramid_debugtoolbar's debugger like weberror's exc handler. In this case, the toolbar code would not be loaded, the JS would not be injected, but the tween (or whatever is catching the exceptions) would still be installed.

This may not be a useful configuration if #75 is implemented. It depends on how much of the JS and CSS for the toolbar can be left out when running in exception-handler-only mode.

Owner

blaflamme commented Aug 24, 2012

There's some discussion to remove the toolbar from being injected in the dom and then added in an iframe. Major refactoring is needed, but it's a possible avenue. This will prevent polluting the dom, js namespace and css behaviour.

tilgovi commented Aug 24, 2012

Cool. I could help with this effort. I just went through a refactor like
this for a sidebar injection on my project. I used easyXDM, but in this
case there would be no cross-domain issues so it should be even easier.
On Aug 24, 2012 1:51 PM, "Blaise Laflamme" notifications@github.com wrote:

There's some discussion to remove the toolbar from being injected in the
dom and then added in an iframe. Major refactoring is needed, but it's a
possible avenue. This will prevent polluting the dom, js namespace and css
behaviour.


Reply to this email directly or view it on GitHubhttps://github.com/Pylons/pyramid_debugtoolbar/issues/76#issuecomment-8014477.

Owner

mmerickel commented Sep 16, 2015

All of this should now be possible by debugtoolbar.show_on_exc_only = true and the separate toolbar implementation in 2.x.

@mmerickel mmerickel closed this Sep 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment