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: nodejs/node#44628
Refs: nodejs/node#44489
Refs: nodejs/node#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 guangwong committed Jan 3, 2023
1 parent 1167b9a commit 1d68394
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 1d68394

Please sign in to comment.