Added debug to jail handler