introduce debug macro