Skip to content

Commit

Permalink
doc,inspector: document changes of inspector.close
Browse files Browse the repository at this point in the history
Retrospectively document the changes history of the `inspector.close`
API.

PR-URL: #44628
Refs: #44489
Refs: #13228
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
  • Loading branch information
legendecas authored and juanarbol committed Oct 7, 2022
1 parent 7d1ff72 commit 1c5fa11
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 @@ -17,6 +17,14 @@ const inspector = require('node:inspector');

## `inspector.close()`

<!-- YAML
added: v9.0.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/44489
description: The API is exposed in the worker threads.
-->

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

## `inspector.console`
Expand Down

0 comments on commit 1c5fa11

Please sign in to comment.