Error Code Portal
Node.jsNode.jsError code

ERR_INSPECTOR_CLOSED

inspector closed

Code ERR_INSPECTOR_CLOSED · An issue reported by Node.js.

While using the node:inspector module, an attempt was made to use the inspector after the session had already closed.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.