If you want to create debit note against specific item
During debit note creation, all item details are displayed in a tabular format. To issue a debit note for a specific item, enter the required information for that item, and for other item rows, put zero (0) in all fields. The below picture is given for better understanding.

Upon submission, the system will generate the debit note only for the specified product.