R3ZV / MDB

Minimal markdown blog generator for your Static Site
0 stars 0 forks source link

Debug Info #4

Closed R3ZV closed 2 months ago

R3ZV commented 2 months ago

Add a macro to make it easier to debug information about the tokens.

Make it so the logs are turned on by a compile flag.

R3ZV commented 2 months ago

Can use dbg(fmt, args) to print to "stderr" if "-DDEBUG" is set.

We set "-DDEBUG" via just, now we can do just build dbg to build a debug binary.

Implemented in 3a7fa77.