3 ms·
And these days, you use the same browser debug tools to attach to nodejs.
by sroussey 2y ago
And these days, you use the same browser debug tools to attach to nodejs.
- mmanciop 2y agoFor local development, yes. But I see that almost never done in production settings, especially with containerized workloads. Is there a neat way to do it in Kubernetes?
- sroussey 2y agoWell, I suggest never enabling the debugger in production. But if you meant a local or dev server where you start node with --inspect then the port to forward is 9229 by default.
- sesm 2y agoYes, but it's missing the network tab, see https://github.com/nodejs/diagnostics/issues/75 https://github.com/nodejs/diagnostics/issues/75