diff options
Diffstat (limited to 'doc/api/inspector.md')
-rw-r--r-- | doc/api/inspector.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 110bd9363a1..f90b823b78f 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -17,7 +17,7 @@ back-end and receiving message responses and notifications. ### Constructor: new inspector.Session() <!-- YAML -added: REPLACEME +added: v8.0.0 --> Create a new instance of the `inspector.Session` class. The inspector session @@ -28,7 +28,7 @@ can be dispatched to the inspector backend. ### Event: 'inspectorNotification' <!-- YAML -added: REPLACEME +added: v8.0.0 --> * {Object} The notification message object @@ -45,7 +45,7 @@ It is also possible to subscribe only to notifications with specific method: ### Event: <inspector-protocol-method> <!-- YAML -added: REPLACEME +added: v8.0.0 --> * {Object} The notification message object @@ -64,7 +64,7 @@ session.on('Debugger.paused', ({params}) => console.log(params.hitBreakpoints)); ### session.connect() <!-- YAML -added: REPLACEME +added: v8.0.0 --> Connects a session to the inspector back-end. An exception will be thrown @@ -73,7 +73,7 @@ a front-end connected to the Inspector WebSocket port. ### session.post(method[, params][, callback]) <!-- YAML -added: REPLACEME +added: v8.0.0 --> * method {string} @@ -100,7 +100,7 @@ to the run-time events. ### session.disconnect() <!-- YAML -added: REPLACEME +added: v8.0.0 --> Immediately close the session. All pending message callbacks will be called |