STM8 uses a SWIM pin for both programming and debugging. As long as you can program the STM8 chip, you should be able to do debugging without any modification on the hardware side. This project uses ...