Debug flag in bottle plugin