Skip to content Skip to sidebar Skip to footer

How To Make Bottle Print Stacktrace When Running Through Apache Modwsgi?

When running Bottle as a standalone server it's very easy to do: from bottle import run, Bottle run(app=app, host=config.get('bottle_host', 'localhost'), port=config.get('bottle_p

Solution 1:

import bottle
bottle.debug(True)

If you look at the source you can see that this function is called by the run function when providing debug.


Post a Comment for "How To Make Bottle Print Stacktrace When Running Through Apache Modwsgi?"