Only print database debug if config set.