Chrome DevTools
The developer tools built into the Chrome browser for debugging, profiling and inspecting memory.
In more detail
Its Memory panel opens heap snapshots and its Performance panel opens CPU profiles. It opens with F12 or from the browser menu.
Example
It can attach to a Node.js process started with --inspect through chrome://inspect.Related terms
- node:inspector — The Node.js module and debugging interface that speaks the Chrome DevTools Protocol, for attaching debuggers and profilers.
- heap snapshot — A file recording every object in a JavaScript heap at one moment and how they refer to each other, used to find memory leaks.
- CPU profile — A recording of where a program spent its CPU time, made by sampling the call stack many times per second.
Taught in
- Diagnostic Profiling: CPU Profiler & Heap Snapshots — Node.js Internals & Backend Services