Add DebugInfoEnumerator to collect debug info.