GeezerVison is showing github.com — debugger: bind to random port with --inspect=0 · Issue #8080 · nodejs/node
debugger: bind to random port with --inspect=0 #8080Labels feature requestIssues requesting new Node.js features.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.inspectorIssues and PRs related to the V8 inspector protocol. DescriptionReacted by Sindre Sorhus, Vladimir Matveev, Marc Bachmann, ULIVZ and Mykhailo Marynenko Activitybmeck commented on Sep 2, 2016 I am guessing you would also want/need the url to load up in devtools? added semver-minorPRs that contain new features and should be released in the next minor version. and removed semver-minorPRs that contain new features and should be released in the next minor version. on Sep 2, 2016after-ephemera commented on May 11, 2017 I'd love to take a shot at helping on this. Can someone direct me where to start? cjihrig commented on May 12, 2017 @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. after-ephemera commented on May 16, 2017 @cjihrig are you suggesting that I just add a check for if result == 0 or do I need to add the random port logic as well? cjihrig commented on May 16, 2017 @azjkjensen I was suggesting allowing result == 0. after-ephemera commented on May 16, 2017 @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. refack commented on May 16, 2017
Is a single test usually sufficient for a change like this?
Use your judgment, if you can think of more than one relevant situation write more than one test...
Good place to look is at test that already check --inspect or --inspect-brk like test/parallel/test-debug-brk.js refack commented on May 16, 2017 P.S. if #13002 lands, you should add a line there too.
P.S. #13002 landed, you should add a line there too.
after-ephemera commented on Jun 8, 2017 @refack looks like someone beat me to the punch in #5025. I think this issue is good to close given that the --inspect=0 has now been pushed in v8.1.0. refack commented on Jun 8, 2017 @azjkjensen you snooze you lose (or win depends on your POV) 😉
MetadataMetadatafeature requestIssues requesting new Node.js features.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.inspectorIssues and PRs related to the V8 inspector protocol. DevelopmentNo branches or pull requestsIssue actions
|