Expose debug mode in config module