Using JSON.stringify for object comparison is inefficient and unreliable. Consider implementing a proper equals method on SourceMapItem or using a more efficient deduplication strategy like a Set with a custom key.
const key = getSourceMapItemKey(smi)
if (!seen.has(key)) {
debugLines.push(smi)
seen.add(key)
Originally posted by @Copilot in #377 (comment)