-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: bind to random port with --inspect=0 #8080
Comments
I am guessing you would also want/need the url to load up in devtools? |
I'd love to take a shot at helping on this. Can someone direct me where to start? |
@azjkjensen this is probably a good place to start. Allowing 0 here seems to make it work for me, but I didn't run the full test suite, and there could be other nuances. |
@cjihrig are you suggesting that I just add a check for if |
@azjkjensen I was suggesting allowing |
@cjihrig it looks like that change works, I just need to write a test for it and then I'll make a PR. Is a single test usually sufficient for a change like this? This is my first time contributing so such a large project. |
Use your judgment, if you can think of more than one relevant situation write more than one test... |
@azjkjensen you snooze you lose (or win depends on your POV) 😉 |
As #5025, but for
--inspect
. #5025 (comment)The text was updated successfully, but these errors were encountered: