Skip to content

Commit 94a5abb

Browse files
theanarkhtargos
authored andcommitted
inspector: add tips for Session
PR-URL: #47195 Reviewed-By: Kohei Ueno <[email protected]>
1 parent 87cae0c commit 94a5abb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/api/inspector.md

+8
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ Create a new instance of the `inspector.Session` class. The inspector session
5454
needs to be connected through [`session.connect()`][] before the messages
5555
can be dispatched to the inspector backend.
5656

57+
When using `Session`, the object outputed by the console API will not be
58+
released, unless we performed manually `Runtime.DiscardConsoleEntries`
59+
command.
60+
5761
#### Event: `'inspectorNotification'`
5862

5963
<!-- YAML
@@ -223,6 +227,10 @@ Create a new instance of the `inspector.Session` class. The inspector session
223227
needs to be connected through [`session.connect()`][] before the messages
224228
can be dispatched to the inspector backend.
225229

230+
When using `Session`, the object outputed by the console API will not be
231+
released, unless we performed manually `Runtime.DiscardConsoleEntries`
232+
command.
233+
226234
#### Event: `'inspectorNotification'`
227235

228236
<!-- YAML

0 commit comments

Comments
 (0)