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

Function debug

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

Source from the content-addressed store, hash-verified

294 * @since 2.0.0
295 */
296export const debug = (...args: ReadonlyArray<any>): Effect.Effect<void> =>
297 consoleWith((console) =>
298 effect.sync(() => {
299 console.debug(...args)
300 })
301 )
302
303/**
304 * 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