How to setup Arduino IDE 2 debug configuration?

Previous discussion: