Add some debug messages, and disable them (#define NDEBUG)