Debugging with STLink

this thread here discusses how to use semihosting but it didn’t work for me
you can try and see if you can make it work