Build me a debounce button but only from external interrupt

Job ID: 34922215

Budget: ₹600 – ₹1,500 INR

you have to make a program that if i press button led will turn on and if i press button again led goes off but it should be on stm32 cube ide and using an external interrupt with all the registers configured for board stm32 f303re