From 7ffc037d63d4c5786fbf495c77839f29be0d10f2 Mon Sep 17 00:00:00 2001 From: legendecas Date: Wed, 14 Sep 2022 01:20:01 +0800 Subject: [PATCH] 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 Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Daeyeon Jeong Reviewed-By: Kohei Ueno --- doc/api/inspector.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 90bc90e2d12226..866d2ac56464de 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -17,6 +17,14 @@ const inspector = require('node:inspector'); ## `inspector.close()` + + Deactivate the inspector. Blocks until there are no active connections. ## `inspector.console`