Skip to main content

connectToMainThread

method Session.prototype.connectToMainThread
Jump to headingSession.prototype.connectToMainThread(): void

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 Jump to heading

void
Back to top