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 RafaelGSS committed Sep 26, 2022
1 parent 752e147 commit c209bd6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/inspector.md
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 c209bd6

Please sign in to comment.