Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bringing network debugging to V8 inspector #11072

Closed
alnorris opened this issue Jan 30, 2017 · 3 comments
Closed

Bringing network debugging to V8 inspector #11072

alnorris opened this issue Jan 30, 2017 · 3 comments
Labels
feature request Issues that request new features to be added to Node.js. inspector Issues and PRs related to the V8 inspector protocol

Comments

@alnorris
Copy link

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.

@joyeecheung joyeecheung added feature request Issues that request new features to be added to Node.js. inspector Issues and PRs related to the V8 inspector protocol labels Jan 30, 2017
@joyeecheung
Copy link
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?

@joshgav
Copy link
Contributor

joshgav commented Jan 30, 2017

This is under discussion in nodejs/diagnostics#75.

@joyeecheung
Copy link
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
Labels
feature request Issues that request new features to be added to Node.js. inspector Issues and PRs related to the V8 inspector protocol
Projects
None yet
Development

No branches or pull requests

3 participants