Make debug messages more easily configurable.