tsx icon indicating copy to clipboard operation
tsx copied to clipboard

Inspect with chrome as debugger result in ERR_FILE_NOT_FOUND

Open TzeroOcne opened this issue 5 months ago • 1 comments

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 by pnpm 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 image But I got this with tsx by running pnpm start:tsx image

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

TzeroOcne avatar Oct 04 '24 08:10 TzeroOcne