-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Bun inspect override prefix not working. #5728
Comments
Any updates on this issue. It is a large blocking point for me working on some projects with Bun. |
With this random suffix, I have to copy the url every thing time and that completely kills productivity. We need a way to not have this random suffix, and also ensure it remains the same in watch mode. And paste the new inspect url on the same browser (Chrome) window doesn't update it. I need to open a new window. |
I found a workaround, you just need specify the ws protocol in the url ws:// localhost:6499/forcingPrefix --> works
|
An age old problem as similarly experienced with Node.js early on. While there is a good reason for the "random" path/id to change each time (security), it can break ones workflow and be a real pain. I submitted this change, which is meant to allow for tooling that can serve as a fix for this exact issue, among other niceties. |
What version of Bun is running?
1.0.2+37edd5a6e389265738e89265bcbdf2999cb81a49
What platform is your computer?
Linux 5.10.16.3-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Running
bun --inspect=localhost:6499/forcingPrefix server.ts
is not forcing the URL prefix to come through in the debug URL.What is the expected behavior?
--------------------- Bun Inspector ---------------------
Listening:
ws://localhost:6499/forcingPrefix
What do you see instead?
--------------------- Bun Inspector ---------------------
Listening:
ws://localhost:6499/gzm88zwftcg
Additional information
Happy to help where i can to fix this issue.
The text was updated successfully, but these errors were encountered: