Added debug argument for metadata factory
Merge pull request #1 from matthiasnoback/patch-1

Added debug argument for metadata factory