package inspectorMod
- Source
- package.scala
- Alphabetic
- By Inheritance
- inspectorMod
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait InspectorNotification[T] extends Object with StObject
- Annotations
- @JSType() @native()
- class Session extends Object with 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.
- Annotations
- @JSType() @JSImport("inspector", "Session") @native()
Value Members
- def close(): Unit
Deactivate the inspector.
Deactivate the inspector. Blocks until there are no active connections.
- Annotations
- @inline()
- def open(port: Unit, host: Unit, wait: Boolean): Unit
- Annotations
- @inline()
- def open(port: Unit, host: java.lang.String, wait: Boolean): Unit
- Annotations
- @inline()
- def open(port: Unit, host: java.lang.String): Unit
- Annotations
- @inline()
- def open(port: Double, host: Unit, wait: Boolean): Unit
- Annotations
- @inline()
- def open(port: Double, host: java.lang.String, wait: Boolean): Unit
- Annotations
- @inline()
- def open(port: Double, host: java.lang.String): Unit
- Annotations
- @inline()
- def open(port: Double): Unit
- Annotations
- @inline()
- def open(): Unit
Activate inspector on host and port.
Activate inspector on host and port. Equivalent to node --inspect=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.
- Annotations
- @inline()
- def url(): UndefOr[java.lang.String]
Return the URL of the active inspector, or
undefinedif there is none.Return the URL of the active inspector, or
undefinedif there is none.- Annotations
- @inline()
- def waitForDebugger(): Unit
Blocks until a client (existing or connected later) has sent
Runtime.runIfWaitingForDebuggercommand.Blocks until a client (existing or connected later) has sent
Runtime.runIfWaitingForDebuggercommand. An exception will be thrown if there is no active inspector.- Annotations
- @inline()
- object Console
- object InspectorNotification
- object Schema
- object ^ extends Object with StObject
- Annotations
- @JSImport("inspector", JSImport.Namespace) @native()