After es6 is packaged by babel, how can errors be located by the generated source map?

  node.js, question

I already know how to generate the source map file and package it, but when the processed file goes wrong, I don’t know how to locate the wrong location of the original file.

Open F12, refresh the page again, and the source map file will be downloaded automatically. the source file can be seen in the Sources panel.