You can use the DSTRACE utility to get trace information from NMAS.
See the DSTRACE section of the eDirectory documentation for more information.