Provide the ability to change debug flag on initialization via configuration object

Useful for development