fs2.internal.jsdeps.node.inspectorMod

Type members

Classlikes

object Console
@native @JSType
trait InspectorNotification[T] extends StObject
Companion
object
object Schema
@JSImport("inspector", "Session") @native @JSType
class Session() extends StObject

The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications.

The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications.

@JSImport("inspector") @native @JSType
object ^ extends StObject

Value members

Concrete methods

@inline
def close(): Unit

Deactivate the inspector. Blocks until there are no active connections.

Deactivate the inspector. Blocks until there are no active connections.

@inline
def open(): Unit

Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programatically after node has started. If wait is true, will block until a client has connected to the inspect port and flow control has been passed to the debugger client.

Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programatically after node has started. If wait is true, will block until a client has connected to the inspect port and flow control has been passed to the debugger client.

Value Params
host

Host to listen on for inspector connections. Optional, defaults to what was specified on the CLI.

port

Port to listen on for inspector connections. Optional, defaults to what was specified on the CLI.

wait

Block until a client has connected. Optional, defaults to false.

@inline
def open(port: Double): Unit
@inline
def open(port: Double, host: String): Unit
@inline
def open(port: Double, host: String, wait: Boolean): Unit
@inline
def open(port: Double, host: Unit, wait: Boolean): Unit
@inline
def open(port: Unit, host: String): Unit
@inline
def open(port: Unit, host: String, wait: Boolean): Unit
@inline
def open(port: Unit, host: Unit, wait: Boolean): Unit
@inline
def url(): UndefOr[String]

Return the URL of the active inspector, or undefined if there is none.

Return the URL of the active inspector, or undefined if there is none.

@inline
def waitForDebugger(): Unit

Blocks until a client (existing or connected later) has sent Runtime.runIfWaitingForDebugger command. An exception will be thrown if there is no active inspector.

Blocks until a client (existing or connected later) has sent Runtime.runIfWaitingForDebugger command. An exception will be thrown if there is no active inspector.