I am debugging a TypeScript project in VS Code or WebStorm as NodeJS configuration.
In node parameters, I input:
`--nolazy -r ts-node/register`
but If I add --transpile-only to the line above head or tail,
Node report bad option: --transpile-only when I launch the debugger.
How can I add --transpile-only or -T in this situation? Thanks.
It鈥檚 in the README. Use a different file to require or environment variables.
Thanks, I saw it this time, I use the TS_NODE_TRANSPILE_ONLY environment variable resolved this problem.
Most helpful comment
It鈥檚 in the README. Use a different file to require or environment variables.