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