Skip to content

debugger: agent listens on 'any' addressΒ #3317

@bnoordhuis

Description

@bnoordhuis
$ node --debug-brk -e 'for(;;);'
Debugger listening on port 5858

# in another window
$ netstat -tlnp | grep node
tcp6       0      0 :::5858                 :::*                    LISTEN      18770/node

It used to listen on 127.0.0.1. The current behavior may be a security liability in production environments.

/cc @indutny

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions