mirror of
https://github.com/enthus1ast/nimDbg
synced 2026-01-08 04:21:10 +00:00
No description
| dbg.nim | ||
| dbg.nimble | ||
| LICENSE | ||
| README.md | ||
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
decho("foo" & "baa" & $123)
# >>> /home/david/nimDbg/dbg.nim(25, 22): "foo" & "baa" & $123 => foobaa123