diff options
Diffstat (limited to 'doc/api/inspector.md')
-rw-r--r-- | doc/api/inspector.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 7b1adcc47b..8ab827bd1f 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -28,6 +28,17 @@ started. If wait is `true`, will block until a client has connected to the inspect port and flow control has been passed to the debugger client. +### inspector.console + +An object to send messages to the remote inspector console. + +```js +require('inspector').console.log('a message'); +``` + +The inspector console does not have API parity with Node.js +console. + ### inspector.close() Deactivate the inspector. Blocks until there are no active connections. |