Support for --trace-warnings option?
See original GitHub issueI would need to run ts-node and print stack trace for unhandled promise exceptions.
How to pass an option --trace-warnings?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Command-line API | Node.js v19.3.0 Documentation
Node.js comes with a variety of CLI options. These options expose built-in debugging, ... The REPL does not support this option. ... --trace-warnings...
Read more >How do you run nx serve with node --trace-warnings?
How do I run yarn nx serve in conjunction with --trace-warnings ? I want to get the stack trace so that I can...
Read more >Using ES modules in Node.js - LogRocket Blog
The module system is supported in many languages and is quite popular since the way dependencies are ... (Use `node --trace-warnings .
Read more >Command line options
Node.js comes with a variety of CLI options. ... Enable experimental support for custom conditional exports resolution ... --trace-warnings.
Read more >Options | ts-node
ts-node supports --project and --showConfig similar to the tsc CLI. Environment variables, where available, are in ALL_CAPS. CLI Options. help. shell. ts ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

In 2020 specifically, you’re supposed to do this: https://github.com/TypeStrong/ts-node/issues/465#issuecomment-659375861
If you find yourself in 2019, you might need to do something else.
For future reference, this worked