add local debug macro

addresses https://github.com/RIOT-OS/RIOT/pull/559#issuecomment-33241773