Added debug flags
Use * for namespaces
Merge pull request #577 from trevorgerhardt/debug-flag

Added --debug flags, closes #531