Network Tab Node Inspect Chrome DevTools
Asked Answered
B

2

11

Is there a version of NodeJS that supports viewing network activity in the network tab of Chrome DevTools? There is no network tab when I open DevTools using node --inspect or, node --inspect-brk in NodeJS v12.13.0.

Bathrobe answered 29/3, 2020 at 14:54 Comment(2)
please have a look at this answer: #28873832Larainelarboard
Does this answer your question? how to monitor the network on node.js similar to chrome/firefox developer tools?Genitor
L
0

If it's the network activity that you are after, then you could also potentially use the Puppeteer library. It's good for doing any browser related things on the server. It opens up a headless (or non-headless) chromium instance and allows you to do a bunch of things. One of those things is to capture the network requests. These posts seem to talk a bit about that.

Lamented answered 19/10, 2022 at 16:40 Comment(0)
V
0

Please try: https://github.com/GrinZero/node-network-devtools. It proxy the node progame and use CDP to log network info to devtools.

Vagal answered 5/6 at 7:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.