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

Connects a session to the inspector back-end. An exception will be thrown if this API was not called on a Worker thread.

Return Type

void
Back to top