You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 5.0, typescript added support for multiple extends syntax in tsconfig.json, and ts-node still doesn't support it, nor does it seem to be active.
As a result, this extension won't run when encountering a tsconfig.json with extends as an array.
Describe the solution you'd like
a) consider defaulting to tsx, swc-node or another more resilient solution.
b) allow customising the command that invokes the debug entrypoint, e.g. instead of <path_to_node>/bin/node --loader=ts-node/esm <entry> allow the user to instead invoke something like <path_to_tsx>/bin/tsx <entry>.
Additional context
Specifically, tsx can be used as a drop-in replacement for node in most commands. Here's how it can be used to debug node processes in vscode: https://tsx.is/vscode
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It seems that
ts-node
is having trouble staying up to date with latesttypescript
features.In
5.0
,typescript
added support for multipleextends
syntax intsconfig.json
, andts-node
still doesn't support it, nor does it seem to be active.As a result, this extension won't run when encountering a
tsconfig.json
withextends
as an array.Describe the solution you'd like
a) consider defaulting to
tsx
,swc-node
or another more resilient solution.b) allow customising the command that invokes the
debug
entrypoint, e.g. instead of<path_to_node>/bin/node --loader=ts-node/esm <entry>
allow the user to instead invoke something like<path_to_tsx>/bin/tsx <entry>
.Additional context
Specifically,
tsx
can be used as a drop-in replacement fornode
in most commands. Here's how it can be used to debugnode
processes invscode
: https://tsx.is/vscodeThe text was updated successfully, but these errors were encountered: