Skip to content

v16.7.0 debugger not work on vscode and webstorm #39842

Description

@tagplus5

Version

v16.7.0

Platform

Linux 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

Debugger not stop on breakpoints

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    inspectorIssues and PRs related to the V8 inspector protocol.
    on Aug 22, 2021
  2. targos commented on Aug 22, 2021

    @targos
    Member

    I cannot reproduce. Tried with node --inspect-brk and VSCode's "Attach to Node Process" command. It stops on breakpoints that I set from the editor.

    Can you please give a bit more information on the setup needed to reproduce this?

  3. tagplus5 commented on Aug 22, 2021

    @tagplus5
    Author

    Sorry. Its not an error of v16.7. Debugger not working after

    sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
    
  4. mhdawson commented on Aug 26, 2021

    @mhdawson
    Member

    @tagplus5 can you clarify that you mean it's not related to Node.js and this can be closed or if you think it should work with that setcap?

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

    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