Chrome DevTools Protocol
The protocol Chrome DevTools uses to control and inspect a JavaScript runtime, with commands grouped into domains such as Profiler and HeapProfiler.
In more detail
Node.js implements it, so the same commands work on a browser tab and a server process. Commands and events are exchanged as JSON messages over a WebSocket connection.
Related terms
- node:inspector — The Node.js module and debugging interface that speaks the Chrome DevTools Protocol, for attaching debuggers and profilers.
- Chrome DevTools — The developer tools built into the Chrome browser for debugging, profiling and inspecting memory.
Taught in
- Diagnostic Profiling: CPU Profiler & Heap Snapshots — Node.js Internals & Backend Services