Skip to main content
method Session.prototype.disconnect
Session.prototype.disconnect(): void
Deprecated

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
Back to top