Add --debug option to the warehouse command

This enables an easy to use way to switch on DEBUG mode without
editing the config file.