Session.prototype.disconnect - Node documentation
method Session.prototype.disconnect

Usage in Deno

import { Session } from "node:inspector";
Session.prototype.disconnect(): void

Immediately close the session. All pending message callbacks will be called with an error. session.connect() will need to be called to be able to send messages again. Reconnected session will lose all inspector state, such as enabled agents or configured breakpoints.

Return Type

void