Closes nima/atomicles#4; `dbg.h'

Taken from http://c.learncodethehardway.org/