add debug to librarian