Wiring a pushbutton with 3v LED to the PB

I think a small capacitor from the pin to GND would do a bit of both, debounce slightly and help with random weak EMI, yeah?

There is a pattern based software button debounce example on the pattern site.

Example - Button w_ debounce.epe (3.5 KB)