Skip to content

Commit

Permalink
inspector: add tips for Session
Browse files Browse the repository at this point in the history
PR-URL: #47195
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
  • Loading branch information
theanarkh authored and targos committed May 2, 2023
1 parent 87cae0c commit 94a5abb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ Create a new instance of the `inspector.Session` class. The inspector session
needs to be connected through [`session.connect()`][] before the messages
can be dispatched to the inspector backend.

When using `Session`, the object outputed by the console API will not be
released, unless we performed manually `Runtime.DiscardConsoleEntries`
command.

#### Event: `'inspectorNotification'`

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

When using `Session`, the object outputed by the console API will not be
released, unless we performed manually `Runtime.DiscardConsoleEntries`
command.

#### Event: `'inspectorNotification'`

<!-- YAML
Expand Down

0 comments on commit 94a5abb

Please sign in to comment.