debounce - capacitor short circuit
Your switch will wear out before your capacitor. The contact resistance and ESR+ESL in the capacitor will limit the peak current.

Your average plastic or ceramic capacitor can handle high peak current but you are wearing the switch from the arcing with high peak current, which is unessesary.

Would this be ok in your application: