-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger fails with "address already in use" regardless of port when using TypeScript #10610
Comments
Basically it attaches a debugger to the |
@Janpot if I am not mistaken the above If anybody can follow the steps in the TypeScript startup guide and activate Thank you |
Ah sure, you're right. Does it still happen when you use typescript: {
ignoreDevErrors: true
} in |
@Janpot looking at the problem now with fresh eyes, I see the command has always successfully launched node, while throwing the error. Adding I was originally trying to debug using VSCode, but failed to hit breakpoints. In addition Starting VSCode from command line "code C:\Project" with uppercase drive letter seems to have temporarily fixed my issues if anybody runs into this. Thank you for the help, but as all breakpoints seemingly work now I will close this issue. The second inspector does not seem to be of relevance. This can be reopened if new info comes in. |
Yes, it disables |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Examples bug report
Example name
TypeScript setup guide
Describe the bug
Debug inspector fails when using TypeScript with error "address already in use" regardless of port chosen.
To Reproduce
"debug": "npm --node-options=--inspect=0.0.0.0:9229 run dev",
to scriptsnpm run debug
Expected behavior
Expected debugger to start listing on port 9229 the same way JavaScript based version does.
Logs
System information
The text was updated successfully, but these errors were encountered: