Skip to content

API reference > @kontsedal/olas-devtools > setNodeDebug

setNodeDebug() function ​

Set the debug variables record on the node at path. Returns the tree unchanged if the node doesn't exist (out-of-order delivery).

Signature:

typescript
export declare function setNodeDebug(root: ControllerNode, path: readonly string[], debug: Record<string, unknown>): ControllerNode;

Parameters ​

Parameter

Type

Description

root

ControllerNode

path

readonly string[]

debug

Record<string, unknown>

Returns:

ControllerNode

Released under the MIT License.