Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cc7e5dd

Browse filesBrowse files
theanarkhMoLow
authored andcommitted
inspector: add tips for Session
PR-URL: #47195 Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
1 parent 0d3e3dd commit cc7e5dd
Copy full SHA for cc7e5dd

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/inspector.md‎

Copy file name to clipboardExpand all lines: doc/api/inspector.md
+8Lines changed: 8 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ changes:
2727

2828
Deactivate the inspector. Blocks until there are no active connections.
2929

30+
When using `Session`, the object outputed by the console API will not be
31+
released, unless we performed manually `Runtime.DiscardConsoleEntries`
32+
command.
33+
3034
## `inspector.console`
3135

3236
* {Object} An object to send messages to the remote inspector console.
@@ -106,6 +110,10 @@ Create a new instance of the `inspector.Session` class. The inspector session
106110
needs to be connected through [`session.connect()`][] before the messages
107111
can be dispatched to the inspector backend.
108112

113+
When using `Session`, the object outputed by the console API will not be
114+
released, unless we performed manually `Runtime.DiscardConsoleEntries`
115+
command.
116+
109117
### Event: `'inspectorNotification'`
110118

111119
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.