It seems when building with --split, the resulting splitted wasm files don't have all the debugging symbols and source maps.