expand debug macro