Why the map is kept
The map is the only link between an offset and a name. A shipped module without a map is a module that cannot be read.
The cost of the channel
The buffer is copied per crossing. Debug output is a cost, and a cost that ships is a cost that is measured.