Enable debug mode when running non-production mode

Enable debug when not running in uwsgi, i.e. with gevents pywsgi server:

    CONFIG_FILE=uwsgi.ini PYTHONUSERBASE=$PWD/py-env python2 http-publisher/publish-to-web.py