The recipe of setup ts-node, jest, for vscode, debug.
https://typestrong.org/ts-node/docs/options
Print resolved tsconfig.json, including ts-node options, and exit
ts-node --showConfig
ts-node -P <path/to/tsconfig>
ts-node --project <path/to/tsconfig>
Path to tsconfig file. Note the uppercase -P. This is different from tsc's -p/--project option.
Environment: TS_NODE_PROJECT
transpileOnly
ts-node -T
ts-node --transpileOnly
Default: false
Environment: TS_NODE_TRANSPILE_ONLY
ts-node --files
Load files, include and exclude from tsconfig.json on startup. This may avoid certain typechecking failures. See Missing types for details.
Default: false
Environment: TS_NODE_FILES
ts-node -D <code,code>
ts-node --ignoreDiagnostics <code,code>
Ignore TypeScript warnings by diagnostic code
Environment: TS_NODE_IGNORE_DIAGNOSTICS