How to debug on Arduino mega 2560

Okay then the previous VSCode extension is just not compatible with the current core. In previous topics it helped to downgrade that. Sadly you’ll have to do a reinstall again :sweat_smile:.

Please file an issue at Issues · platformio/platformio-vscode-ide · GitHub when using the newest extension + core version – this should work out of the box as I’ve shown, and I have no idea why that’s not working for you.