I am trying to wrap the web2py wsgi app in anyserver.py with the werkzeug 
debugger but I can't get it to work. How do I raise the exception from 
web2py to DebuggedApplication?

Here is what I did after following the steps mentioned 
here http://werkzeug.pocoo.org/docs/debug/

def cherrypy(app,address, **options): 
        from cherrypy import wsgiserver 
        from werkzeug.debug import DebuggedApplication 
        server = wsgiserver.CherryPyWSGIServer(address, 
DebuggedApplication(app,evalex=True)
        server.start() 

Reply via email to