Recognise than boredom is a trigger for you and occupy yourself, play music, dance around the room, ring a friend, anything. Will eating that food make you less bored ? Will you be happy with yourself 30 mins after you finish eating ?
Remind yourself why you are doing this. Know that you are a strong person and can get through this. Drink water instead