Working to allow (dr) in debug mode