addListener
|
open fun addListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun addListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger |
attach
|
open fun attach(protocolVersion: String? = definedExternally): Unit |
detach
|
open fun detach(): Unit |
isAttached
|
open fun isAttached(): Boolean |
on
|
open fun on(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun on(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger |
once
|
open fun once(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun once(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger |
removeListener
|
open fun removeListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun removeListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger |
sendCommand
|
open fun sendCommand(method: String, commandParams: Any? = definedExternally, callback: ((error: Any, result: Any) -> Unit)? = definedExternally): Unit |