Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: inspector.close undefined in worker threads
In the main thread, `inspector.close` is defined as `process._debugEnd`: ``` > inspector.close [Function: _debugEnd] ``` It's not defined in worker threads: ``` > const {Worker} = require("worker_threads"); > new Worker("console.log(require(\"inspector\").close)", {eval:true}) undefined ``` (As far as I can tell this is intentional and has existed for quite some time.) PR-URL: nodejs#43867 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Feng Yu <[email protected]>
- Loading branch information