support negative number, so we can set all bits of a debug mask with -1