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 <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
Reviewed-By: Kohei Ueno <[email protected]>
  • Loading branch information
legendecas authored and RafaelGSS committed Sep 26, 2022
1 parent bbaaabc commit 1c548fe
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 1c548fe

Please sign in to comment.