Added debug to API reference