Skip to content

Does/should the REPL support --inspect? #64121

Closed as not planned
Closed as not planned

Description

@vassudanagunta

Version

v26.3.0

Subsystem

REPL
debugger

What steps will reproduce the bug?

Run node --inspect and node --interactive --inspect with no script arg.

What is the expected behavior? Why is that the expected behavior?

either:

$ node --inspect
node: REPL does not support --inspect

or:

$ node node --interactive --inspect
node: either --interactive or --inspect can be used, not both

similar to:

node --watch --check src/app.js
node: either --watch or --check can be used, not both

Even if it technically works, I can't see how it works in any useful way.

What do you see instead?

$ node --inspect
Debugger listening on ws://127.0.0.1:9229/d36505e9-1fcd-4b1f-b43e-0f2dd295526e
For help, see: https://nodejs.org/learn/getting-started/debugging
Welcome to Node.js v26.3.0.
Type ".help" for more information.
> 
$ node --interactive --inspect
Debugger listening on ws://127.0.0.1:9229/b6961d01-7632-4ec1-b091-ee6b9026513a
For help, see: https://nodejs.org/learn/getting-started/debugging
Welcome to Node.js v26.3.0.
Type ".help" for more information.
> 

Activity

  1. changed the title [-]debugger: Does/should the REPL support `--inspect`?[/-] [+]Does/should the REPL support `--inspect`?[/+] on Jun 24, 2026
  2. vassudanagunta commented on Jun 25, 2026

    @vassudanagunta
    ContributorAuthor

    See also #64135

  3. added
    repl
    on Jul 24, 2026
  4. added theissue type on Jul 24, 2026
  5. github-actions commented on Oct 23, 2026

    @github-actions
    Contributor

    This issue has been marked as stale due to 90 days of inactivity.
    It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.

  6. added
    stale
    on Oct 23, 2026
  7. github-actions commented on Nov 23, 2026

    @github-actions
    Contributor

    This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 120 days).
    If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.

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

    replstale

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions