Added debug to the server