Usage in Deno
import { type Runtime } from "node:inspector"; type { CallFunctionOnParameterType } = Runtime;
functionDeclaration: string
Declaration of the function to call.
objectId: RemoteObjectId | undefined
Identifier of the object to call function on. Either objectId or executionContextId should be specified.
arguments: CallArgument[] | undefined
Call arguments. All call arguments must belong to the same JavaScript world as the target object.
silent: boolean | undefined
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException
state.
returnByValue: boolean | undefined
Whether the result is expected to be a JSON object which should be sent by value.
generatePreview: boolean | undefined
Whether preview should be generated for the result.
userGesture: boolean | undefined
Whether execution should be treated as initiated by user in the UI.
awaitPromise: boolean | undefined
Whether execution should await
for resulting value and return once awaited promise is resolved.
executionContextId: ExecutionContextId | undefined
Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
objectGroup: string | undefined
Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.