Search code examples
pythonwsgipaster

How do I use Flickzeug to get interactive tracebacks from a paste deploy WSGI pipeline?


I'd like to use Flickzeug to see interactive tracebacks by adding it to my paste deploy file's pipeline. The following doesn't work. What will?

[pipeline]
pipeline =
    flickzeug
    myapp

Solution

  • Use the filter-with directive in your application declaration.

    [app:main]
    use = ...
    ...
    
    filter-with = flickzeug
    
    
    [filter:flickzeug]
    use = egg:...#...
    ...

    For more information, see the first example in the Filter Composition section of the Paste Deploy documentation.