MCPcopy Create free account
hub / github.com/Shazbot/WH3-Mod-Manager / isFlowExecutionDebugEnabled

Function isFlowExecutionDebugEnabled

src/flowExecutionSupport.ts:26–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 isDebug,
25});
26export const isFlowExecutionDebugEnabled = (): boolean =>
27 process.env.NODE_ENV === "development" && process.env.WHMM_VERBOSE_FLOW_EXECUTION === "1";
28export const flowExecutionDebugLog = (context: Pick<FlowExecutionContext, "isDebug"> | undefined, ...args: any[]) => {
29 if (context?.isDebug || isFlowExecutionDebugEnabled()) {
30 console.log(...args);

Callers 2

executeFlowsForPackFunction · 0.90
flowExecutionDebugLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected