Closed char8x closed 1 month ago
Since we can't really add tests for this, can you confirm this fixes your problem?
I published a prerelease here:
npm i 'privatenumber/tsx#npm/fix-node-debugger'
or
npx 'privatenumber/tsx#npm/fix-node-debugger' file.ts # same as `npx tsx file.ts`
I checked it out and it works.
Thanks for the PR @char8x !
This issue is now resolved in v4.19.2.
If you're able to, your sponsorship would be very much appreciated.
This PR attempts to fix the issue described here: #661
If make changes to
tsx/src/run.ts
, the--inspect
flag will be confused with the flag of the custom program.But in
src/utils/transform/get-esbuild-options.ts
,process.execArgv
doesn't have this problem