Added debug to player template