It was pointed out that DEBUG() is only available with -debug.