Skip to content

Subset of CDP as profile for Node.js tools and VMs #52

Description

@joshgav

NOTE: Background reading and resources at the end of this post.

CDP groups functionality into Domains containing Methods, Events, and Types. The domains and members supported by a given runtime/debug target can be specified in a protocol.json file, ideally retrievable dynamically by the debugger at a /json/protocol endpoint on the debugee. Examples and discussion:

V8's currently-supported Domains are listed here.

For Node to fully support CDP we must implement and specify which Domains and other members Node supports, likely in a protocol.json file, and likely starting from those supported by V8 and the inspector agent. We could call this the Node "profile" for CDP.

This was discussed in #49's meeting.

  • This issue is to track progress on creating such a profile for Node.

Background and Resources

Please suggest more in the thread and I'll add them.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions