Arduino IDE 2

If you want to debug one of the debugWIRE MCUs in the Arduino IDE 2, meanwhile, you find a solution that works out of the box: PyAvrOCD. You only have to extend the list of Additional boards manager URLs and then download the debug-enabled cores you want to work with. This solution works with all EDBG-based hardware debuggers, as well as with the DIY debugger dw-link.