MCPcopy Create free account
hub / github.com/Effect-TS/effect / debug

Function debug

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

Source from the content-addressed store, hash-verified

303 * @since 2.0.0
304 */
305export const debug = (...args: ReadonlyArray<any>): Effect.Effect<void> =>
306 consoleWith((console) =>
307 effect.sync(() => {
308 console.debug(...args)
309 })
310 )
311
312/**
313 * Displays an interactive list of the properties of the specified object, optionally using console-specific inspection options for debugging complex data structures.

Callers

nothing calls this directly

Calls 3

consoleWithFunction · 0.85
debugMethod · 0.80
syncMethod · 0.45

Tested by

no test coverage detected