make debug option settable