Debug metadata is numbered per emitter (debug-info.ts) and the range
journal does not carry it, so a debug build emitted in ranges or on
workers referred to metadata the merged module did not define. Debug
builds now emit every function body in the emitter itself.