Skip to content

NodeJS breakpoint won't stop with capabilities set #852

@clarkttfu

Description

@clarkttfu

Config

OS (VmWare Fusion virtual machine)
Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
Nodejs 12.14.1 / 12.19.0 / 14.15.0

Problem

  1. setup capability: sudo setcap cap_net_admin+iep $(which node)
  2. launch debug session and break point stops
  3. quit vscode and kill the remote vscode-server process then start vscode remote dev session
  4. launch debug session and break point do not stop

product_json.txt

FYI:
https://man7.org/linux/man-pages/man7/capabilities.7.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions