MCPcopy Create free account
hub / github.com/effect-app/libs / debug

Function debug

repos/effect/packages/effect/src/Console.ts:232–237  ·  view source on GitHub ↗
(...args: ReadonlyArray<any>)

Source from the content-addressed store, hash-verified

230 * **Example** (Resetting a counter)
231 *
232 * ```ts import.meta.vitest
233 * import { Console, Effect } from "effect"
234 *
235 * const counters = new Map<string, number>()
236 * const messages: Array<string> = []
237 * const testConsole: Console.Console = Object.assign(Object.create(console), {
238 * count: (label = "default") => {
239 * const count = (counters.get(label) ?? 0) + 1
240 * counters.set(label, count)

Callers

nothing calls this directly

Calls 3

consoleWithFunction · 0.85
syncMethod · 0.80
debugMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…