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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add node-report to cdp and add Visual Panel like React or Vue #27858

Closed
gengjiawen opened this issue May 24, 2019 · 9 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 report Issues and PRs related to process.report. stale

Comments

@gengjiawen
Copy link
Member

I found node-report is very usefully (tbh I am a little surprised that Node.js has this level of clarity, really amazing job 馃憤 ), in some cases more usefully than profiler :)
I would like two thing:

screenshot

cc @nodejs/inspector @nodejs/report @richardlau
(Not sure I ping the group right, I don't know the Node.js group category )

@richardlau
Copy link
Member

cc @nodejs/diagnostics

@jasnell jasnell added feature request Issues that request new features to be added to Node.js. report Issues and PRs related to process.report. labels May 24, 2019
@addaleax addaleax added the inspector Issues and PRs related to the V8 inspector protocol label May 26, 2019
@gireeshpunathil
Copy link
Member

  • adding report to the CDP panel of Vuejs: makes perfect sense, as one could generate an in-memory report upon user selection, and then render the relevant sections in the view.
  • adding report to the CDP protocol: Not very much sure about how does it work / help. Can you please elaborate a little on that?

Also in both cases, where does the feature be developed? in core, or in chrome? can the report.getReport() api can be consumed as is by the panel / protocol implementors?

@gireeshpunathil
Copy link
Member

node-report largely is used to refer the original npm module https://www.npmjs.com/package/node-report and diagnostic-report or simply report is used to refer to the one that is available in core. It may be great if you change the title to reflect the right report meant in this case.

@gengjiawen
Copy link
Member Author

gengjiawen commented May 27, 2019

adding report to the CDP panel of Vuejs

Nope, my thought is a new panel, like opened in chrome://inspect. May need to change chrome front-end code https://github.com/ChromeDevTools/devtools-frontend/blob/master/front_end/node_main/NodeConnectionsPanel.js.

image

image

node-report largely is used to refer the original npm module npmjs.com/package/node-report.

Hopefully work on Node.js with node-report installed too.

@hashseed
Copy link
Member

TBH I don't know how much value it is to show the JSON data that node-report or diagnostic-report provides in a DevTools panel, visually..

@gengjiawen
Copy link
Member Author

TBH I don't know how much value it is to show the JSON data that node-report or diagnostic-report provides in a DevTools panel, visually..

Kind of like DOM in front end (Elements Panel in Devtools).

@june07
Copy link

june07 commented Nov 18, 2019

@gengjiawen Will likely drop in the next version of NiM(see screenshot from the DevTools Panel)...

Will have the ability to save reports and quickly access reports from multiple node instances.

image

Stay tuned.

@june07
Copy link

june07 commented Dec 27, 2019

Took over a week to get the update pushed thru the Chrome Web Store but it is done. https://blog.brakecode.com/nodejs-diagnostic-reports/

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2022

There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment.

For more information on how the project manages feature requests, please consult the feature request management document.

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 report Issues and PRs related to process.report. stale
Projects
None yet
Development

No branches or pull requests

7 participants