Only include debug info when DEBUG is set.