Expose debug via a config var.