dbg

dbg template; in debug echo

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-22 05:28

Installation

nimble install dbg
choosenim install dbg
git clone https://github.com/enthus1ast/nimDbg

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
dbg - - - - - - -

Source

Repository https://github.com/enthus1ast/nimDbg
Homepage https://github.com/enthus1ast/nimDbg
Documentation View Documentation
Registry Source nimble_official

README

nimDbg

"dbg" template; in debug echo

template dbg*(args: varargs[untyped]) =
  ##like `debugEcho` but removed when compiled with -d:release
  when not defined release: debugEcho args

decho echos lineinfo, your statement and statements value

```nim decho("foo" & "baa" & $123)

>>> /home/david/nimDbg/dbg.nim(25, 22): "foo" & "baa" & $123 => foobaa123