GeezerVison is showing github.com — doc: inspector.close undefined in worker threads · nodejs/node@51cb0d4
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/inspector.md +3Lines changed: 3 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,6 +19,8 @@ const inspector = require('node:inspector'); |
19 | 19 |
|
20 | 20 | Deactivate the inspector. Blocks until there are no active connections. |
21 | 21 |
|
| 22 | +This function is not available in [worker threads][]. |
| 23 | + |
22 | 24 | ## `inspector.console` |
23 | 25 |
|
24 | 26 | * {Object} An object to send messages to the remote inspector console. |
@@ -260,3 +262,4 @@ session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => { |
260 | 262 | [`'Debugger.paused'`]: https://chromedevtools.github.io/devtools-protocol/v8/Debugger#event-paused |
261 | 263 | [`session.connect()`]: #sessionconnect |
262 | 264 | [security warning]: cli.md#warning-binding-inspector-to-a-public-ipport-combination-is-insecure |
| 265 | +[worker threads]: worker_threads.md |