Runtime

Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.

Common API Experimental API Not implemented

RemoteDebug Core

Chrome (CDP 1.2)

Edge

Node (V8)

Safari iOS 10.0

awaitPromise awaitPromise awaitPromise awaitPromise
callFunctionOn callFunctionOn callFunctionOn callFunctionOn callFunctionOn callFunctionOn
compileScript compileScript compileScript compileScript
disable disable disable disable disable disable
discardConsoleEntries discardConsoleEntries discardConsoleEntries discardConsoleEntries
enable enable enable enable enable enable
evaluate evaluate evaluate evaluate evaluate evaluate
getProperties getProperties getProperties getProperties getProperties getProperties
releaseObject releaseObject releaseObject releaseObject releaseObject
releaseObjectGroup releaseObjectGroup releaseObjectGroup releaseObjectGroup releaseObjectGroup
runIfWaitingForDebugger runIfWaitingForDebugger runIfWaitingForDebugger runIfWaitingForDebugger
runScript runScript runScript runScript
setCustomObjectFormatterEnabled setCustomObjectFormatterEnabled setCustomObjectFormatterEnabled
run run
disableTypeProfiler disableTypeProfiler
enableTypeProfiler enableTypeProfiler
getBasicBlocks getBasicBlocks
getCollectionEntries getCollectionEntries
getDisplayableProperties getDisplayableProperties
getRuntimeTypesForVariablesAtOffsets getRuntimeTypesForVariablesAtOffsets
parse parse
saveResult saveResult

Events

RemoteDebug Core

Chrome (CDP 1.2)

Edge

Node (V8)

Safari iOS 10.0

consoleAPICalled consoleAPICalled consoleAPICalled consoleAPICalled
exceptionRevoked exceptionRevoked exceptionRevoked exceptionRevoked
exceptionThrown exceptionThrown exceptionThrown exceptionThrown
executionContextCreated executionContextCreated executionContextCreated executionContextCreated executionContextCreated executionContextCreated
executionContextDestroyed executionContextDestroyed executionContextDestroyed executionContextDestroyed executionContextDestroyed
executionContextsCleared executionContextsCleared executionContextsCleared executionContextsCleared executionContextsCleared
inspectRequested inspectRequested inspectRequested inspectRequested

Types

RemoteDebug Core

Chrome (CDP 1.2)

Edge

Node (V8)

Safari iOS 10.0

CallArgument CallArgument CallArgument CallArgument CallArgument CallArgument
CallFrame CallFrame CallFrame CallFrame
ExceptionDetails ExceptionDetails ExceptionDetails ExceptionDetails
ExecutionContextDescription ExecutionContextDescription ExecutionContextDescription ExecutionContextDescription ExecutionContextDescription ExecutionContextDescription
ExecutionContextId ExecutionContextId ExecutionContextId ExecutionContextId ExecutionContextId ExecutionContextId
InternalPropertyDescriptor InternalPropertyDescriptor InternalPropertyDescriptor InternalPropertyDescriptor InternalPropertyDescriptor InternalPropertyDescriptor
PropertyDescriptor PropertyDescriptor PropertyDescriptor PropertyDescriptor PropertyDescriptor PropertyDescriptor
RemoteObject RemoteObject RemoteObject RemoteObject RemoteObject RemoteObject
RemoteObjectId RemoteObjectId RemoteObjectId RemoteObjectId RemoteObjectId RemoteObjectId
ScriptId ScriptId ScriptId ScriptId
StackTrace StackTrace StackTrace StackTrace
Timestamp Timestamp Timestamp Timestamp
UnserializableValue UnserializableValue UnserializableValue UnserializableValue
CustomPreview CustomPreview CustomPreview
EntryPreview EntryPreview EntryPreview EntryPreview EntryPreview
ObjectPreview ObjectPreview ObjectPreview ObjectPreview
PropertyPreview PropertyPreview PropertyPreview PropertyPreview
BasicBlock BasicBlock
CollectionEntry CollectionEntry
ErrorRange ErrorRange
StructureDescription StructureDescription
SyntaxErrorType SyntaxErrorType
TypeDescription TypeDescription
TypeLocation TypeLocation
TypeSet TypeSet
RuntimeFrameId