From 968db213f81dbfbf121f9a1098978ee345e649e5 Mon Sep 17 00:00:00 2001 From: theanarkh Date: Sun, 29 Jan 2023 11:32:23 +0800 Subject: [PATCH] doc: add tip for session.post function PR-URL: https://github.com/nodejs/node/pull/46354 Refs: https://github.com/nodejs/node/issues/44634 Reviewed-By: Ben Noordhuis Reviewed-By: Luigi Pinca --- doc/api/inspector.md | 4 ++++ doc/api/v8.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 27a7c656136196..a699b6c16a68b5 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -325,6 +325,10 @@ by V8. Chrome DevTools Protocol domain provides an interface for interacting with one of the runtime agents used to inspect the application state and listen to the run-time events. +You can not set `reportProgress` to `true` when sending a +`HeapProfiler.takeHeapSnapshot` or `HeapProfiler.stopTrackingHeapObjects` +command to V8. + #### Example usage Apart from the debugger, various V8 Profilers are available through the DevTools diff --git a/doc/api/v8.md b/doc/api/v8.md index 9fe79556b6011a..bd56168b49ad09 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -1081,7 +1081,7 @@ Start collecting GC data. added: REPLACEME --> -Stop collecting GC data and return a object.The content of object +Stop collecting GC data and return an object.The content of object is as follows. ```json