Conditional debug messages
Add configuration support.