GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #8080

New issue
Copy link
New issue
Copy link
Closed
Closed
debugger: bind to random port with --inspect=0#8080
Copy link
Labels
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.

Description

@develar
develar
opened on Aug 12, 2016
Issue body actions

As #5025, but for --inspect. #5025 (comment)

Reacted by Sindre Sorhus, Vladimir Matveev, Marc Bachmann, ULIVZ and Mykhailo Marynenko

Activity

  1. mscdex
    added
    debugger
    inspectorIssues and PRs related to the V8 inspector protocol.
    and removed
    debugger
    on Aug 12, 2016
  2. ofrobots
    added
    help wantedIssues that need assistance from volunteers or PRs that need help to proceed.
    on Aug 31, 2016
  3. bmeck commented on Sep 2, 2016

    @bmeck
    bmeck
    on Sep 2, 2016
    Member
    More actions

    I am guessing you would also want/need the url to load up in devtools?

  4. Trott
    added
    feature requestIssues requesting new Node.js features.
    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, 2016
  5. after-ephemera commented on May 11, 2017

    @after-ephemera
    after-ephemera
    on May 11, 2017
    More actions

    I'd love to take a shot at helping on this. Can someone direct me where to start?

  6. cjihrig commented on May 12, 2017

    @cjihrig
    cjihrig
    on May 12, 2017
    Contributor
    More actions

    @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.

  7. after-ephemera commented on May 16, 2017

    @after-ephemera
    after-ephemera
    on May 16, 2017
    More actions

    @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?

  8. cjihrig commented on May 16, 2017

    @cjihrig
    cjihrig
    on May 16, 2017
    Contributor
    More actions

    @azjkjensen I was suggesting allowing result == 0.

  9. after-ephemera commented on May 16, 2017

    @after-ephemera
    after-ephemera
    on May 16, 2017
    More actions

    @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.

  10. refack commented on May 16, 2017

    @refack
    refack
    on May 16, 2017
    Contributor
    More actions

    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

    Reacted by jk jensen
  11. refack commented on May 16, 2017

    @refack
    refack
    on May 16, 2017
    Contributor
    More actions

    P.S. if #13002 lands, you should add a line there too.
    P.S. #13002 landed, you should add a line there too.

  12. after-ephemera commented on Jun 8, 2017

    @after-ephemera
    after-ephemera
    on Jun 8, 2017
    More actions

    @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.

  13. refack commented on Jun 8, 2017

    @refack
    refack
    on Jun 8, 2017
    Contributor
    More actions

    @azjkjensen you snooze you lose (or win depends on your POV) 😉

  14. refack
    closed this as completedon Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.