Source Map
A source map is a file that maps from the transformed source code to the original source code. This helps the browser to reconstruct the original source and display the reconstructed original in the debugger. Debugging with a source map, rather than the transformed state of the source code that the browser has downloaded, makes the process much easier.
Enable Source Map
You can enable source map under Setting -> General Settings
.
Download Source Map
There are two ways to download a source map.
- Upon successful upload, you can download the source map by clicking the
Download SourceMap
button.
- You can also download source map files from
Detail -> Download
in the mini program manager platform.