directory debugging