Minification is lossy. Many different original programs can produce the same compact output after comments, whitespace, and descriptive local names are removed. An unminifier can choose a readable layout, but there is no unique original layout to recover.
A source map is a separate metadata file created during a build. It maps locations in a deployed bundle back to original filenames, lines, columns, and sometimes embedded source content. If debugging production code is the goal, obtain the exact source map matching that exact minified file.
Deobfuscation is also different. Obfuscators may add confusing control flow, encoded strings, anti-debugging behavior, or runtime-generated code. Pretty-printing can help the first inspection, but it does not automatically explain or safely undo those transformations.