setDebug static method
Sets a custom debug function for a specific target object.
The fn callback will be invoked whenever a debug operation occurs
for the target node. This allows per-node debugging customization.
Implementation
@pragma("vm:prefer-inline")
@pragma("wasm:prefer-inline")
@pragma("dart2js:prefer-inline")
static void setDebug(Object target, JoltDebugFn fn) {
joltDebugFns[target] = fn;
}