node:inspector

The Node.js module and debugging interface that speaks the Chrome DevTools Protocol, for attaching debuggers and profilers.

In more detail

Starting node with --inspect lets Chrome DevTools connect; the node:inspector module lets a program profile itself through a Session. Disconnect sessions when done, since active profilers slow the process.

Related terms

Taught in

References