Bun

interface

inspector.Debugger.EvaluateOnCallFrameParameterType

interface EvaluateOnCallFrameParameterType

  • callFrameId: string

    Call frame identifier to evaluate on.

  • expression: string

    Expression to evaluate.

  • generatePreview?: boolean

    Whether preview should be generated for the result.

  • includeCommandLineAPI?: boolean

    Specifies whether command line API should be available to the evaluated expression, defaults to false.

  • objectGroup?: string

    String object group name to put result into (allows rapid releasing resulting object handles using <code>releaseObjectGroup</code>).

  • returnByValue?: boolean

    Whether the result is expected to be a JSON object that should be sent by value.

  • silent?: boolean

    In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.

  • throwOnSideEffect?: boolean

    Whether to throw an exception if side effect cannot be ruled out during evaluation.