Liking cljdoc? Tell your friends :D

aoc-clj-elf.debug

Debug helpers for solutions. (dbg form) prints a labelled value and returns it. Debugging is decided when a solution file is loaded: bb aoc solve --debug turns it on, and without --debug every dbg call expands to the bare form, so it costs nothing at run time. In a REPL it defaults to on.

Debug helpers for solutions. `(dbg form)` prints a labelled value and returns
it. Debugging is decided when a solution file is loaded: `bb aoc solve --debug`
turns it on, and without `--debug` every `dbg` call expands to the bare form, so
it costs nothing at run time. In a REPL it defaults to on.
raw docstring

configure!clj

(configure! {:keys [debug pretty]})

Sets debugging from CLI options. Takes effect for code loaded afterwards.

Sets debugging from CLI options. Takes effect for code loaded afterwards.
sourceraw docstring

dbgcljmacro

(dbg form)

Prints form and its value, then returns the value. When debugging is off as the code is loaded, expands to just form.

Prints `form` and its value, then returns the value. When debugging is off as
the code is loaded, expands to just `form`.
sourceraw docstring

(print-debug label value)

Prints label (dimmed) and value using the current settings

Prints `label` (dimmed) and `value` using the current settings
sourceraw docstring

settingsclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close