Hey folks, this new debugtoolbar release contains some cool user-facing features unlike 4.0 which was mostly under the hood.
By far the most exciting feature (to me) is that you can now interactively debug exceptions that were squashed by an exception view. This is subtle, but as an example - if you register an exception view for Exception it will squash / hide all exceptions raised by your app. This means the interactive debugger doesn't show up with a stacktrace when an exception occurs. However, *now* the Traceback tab *will* contain the traceback and you can debug it, even though a normal response was sent to the browser! This is part of an ongoing effort in Pyramid 1.9+ to encourage users to use exception views even in development and as part of the entire request lifecycle, even for errors outside of the EXCVIEW tween.
Other changes include:
- Drop the vendored ipaddr package and use ipaddress on Python 3. On Python 2 the ipaddress module will be installed from PyPI.
- The interface will now show a proper warning message when attempting to show the toolbar for a request that no longer exists - probably because you restarted your app.
- Better support for link-local IPv6 interfaces.
- The Headers panel should now show headers added to the response via response callbacks and NewResponse subscribers.
- The SQLAlchemy panel should handle long SQL query strings better by word-wrapping them.