Map stack traces back to original sources.
Section: Memory, Profiling, and Coverage
Enable source maps in stack traces
bash
bash
node --enable-source-maps dist/server.jsExplanation
Important for transpiled TypeScript or bundled code.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Memory, Profiling, and Coverage