diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 242f4d6e77e3ce..19d2b254b81ada 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -27,6 +27,10 @@ changes: Deactivate the inspector. Blocks until there are no active connections. +When using `Session`, the object outputed by the console API will not be +released, unless we performed manually `Runtime.DiscardConsoleEntries` +command. + ## `inspector.console` * {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 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'`