diff options
author | legendecas <legendecas@gmail.com> | 2022-09-13 20:20:01 +0300 |
---|---|---|
committer | Juan José Arboleda <soyjuanarbol@gmail.com> | 2022-10-11 22:45:25 +0300 |
commit | 891c4e742fa07999aa79b19eed1e07d7443e3800 (patch) | |
tree | 65482e4cfc3f8cadeba6e62aaff2c21d88cbe593 /doc | |
parent | 8118fc2980ae2855a58b40145cfa45a2cb3dc04e (diff) |
doc,inspector: document changes of inspector.close
Retrospectively document the changes history of the `inspector.close`
API.
PR-URL: https://github.com/nodejs/node/pull/44628
Refs: https://github.com/nodejs/node/pull/44489
Refs: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/inspector.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/inspector.md b/doc/api/inspector.md index dd5fac313d0..4fc198650b6 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -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` |