aboutsummaryrefslogtreecommitdiff
path: root/src/js/node/async_hooks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/node/async_hooks.ts')
-rw-r--r--src/js/node/async_hooks.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/node/async_hooks.ts b/src/js/node/async_hooks.ts
index d04b226f8..ef77b79f7 100644
--- a/src/js/node/async_hooks.ts
+++ b/src/js/node/async_hooks.ts
@@ -24,10 +24,12 @@
const { cleanupLater, setAsyncHooksEnabled } = $lazy("async_hooks");
function get(): ReadonlyArray<any> | undefined {
+ $debug("get", $getInternalField($asyncContext, 0));
return $getInternalField($asyncContext, 0);
}
function set(contextValue: ReadonlyArray<any> | undefined) {
+ $debug("set", contextValue);
return $putInternalField($asyncContext, 0, contextValue);
}