diff --git a/doc/api/inspector.md b/doc/api/inspector.md index c469ed9c5dbc45..3d9a956f095ede 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -216,7 +216,7 @@ session.on('HeapProfiler.addHeapSnapshotChunk', (m) => { }); session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => { - console.log('Runtime.takeHeapSnapshot done:', err, r); + console.log('HeapProfiler.takeHeapSnapshot done:', err, r); session.disconnect(); fs.closeSync(fd); });