tsx
tsx copied to clipboard
Inspect with chrome as debugger result in ERR_FILE_NOT_FOUND
Acknowledgements
- [X] I read the documentation and searched existing issues to avoid duplicates
- [X] I understand this is a bug tracker and anything other than a proven bug will be closed
- [X] I understand this is a free project and relies on community contributions
- [X] I read and understood the Contribution guide
Minimal reproduction URL
https://github.com/TzeroOcne/tsx-issue
Problem & expected behavior (under 200 words)
- What happened
I try to run
tsx
with--inspect
bypnpm start:tsx
- What I expected
I expect I can open debugger tool from browser and it will show the ts file that are beign debugged like the example when I use
ts-node
- Error stack trace The error that I got from the debugger are this
Could not load content for file:///C:/Users/tzero/temp/tsx-test/src/C:\Users\tzero\temp\tsx-test\src\index.ts (System error: net::ERR_FILE_NOT_FOUND)
- Documentation links I don't think there is any documentation about inspect using chrome as debugger
- Screenshots
This what I expect by using ts-node by running
pnpm start:ts-node
But I got this with tsx by running
pnpm start:tsx
Bugs are expected to be fixed by those affected by it
- [X] I'm interested in working on this issue
Compensating engineering work will speed up resolution and support the project
- [ ] I'm willing to offer $10 for financial support