@BaiBai You should use latest Arduino IDE 2 version and use latest STM32 core 2.8.x.Then enable the "Optimize for Debugging" in the "Sketch" menu.After "upload", click on "Start Debugging" button and it should work.
Hi @Andrew Neil STM32duino GitHub organization is a community project, it is not part of the official software ecosystem supported by ST. Nevertheless ST contributes to this community.For question, support, ..., you could submit a topic on the stm32d...