Skip to content

Bringing network debugging to V8 inspector #11072

Description

@alnorris

Just throwing it out there that I find the network inspection tab in Node inspector to be quite useful at times, would be neat if this was in node's built in V8 Inspector.

Activity

  1. added
    feature requestIssues requesting new Node.js features.
    inspectorIssues and PRs related to the V8 inspector protocol.
    on Jan 30, 2017
  2. joyeecheung commented on Jan 30, 2017

    @joyeecheung
    Member

    FWIW: The V8 inspector is about JavaScript debugging so it's probably not the tool for the job. I think you can get (somewhat) similar things with a combination of trace events and async wrap, but I doubt there is a way to get those nice realtime view with chrome://tracing.

    Also looks like Node Inspector does this by monkey patching HTTP Agent and ClientRequest and sending events to their customized frontend(Chrome DevTools) with a agent, but beaware Node core tends to be neutral about devtools vendors (Refs: #8978), so the whole solution is probably best done in the user land, though core can make things easier with some new realtime-y API/protocol I guess?

  3. joshgav commented on Jan 30, 2017

    @joshgav
    Contributor

    This is under discussion in nodejs/diagnostics#75.

  4. joyeecheung commented on Jan 30, 2017

    @joyeecheung
    Member

    @joshgav Thanks for the link, wasn't aware of that. Closing in favor of nodejs/diagnostics#75.

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

    feature requestIssues requesting new Node.js features.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