If you are expecting a really long and complex answer to How do I debug code running on the Target?, then you are going to be very disappointed. Qt Creator makes it incredibly easy. Are you ready?
To debug your code on the Target, simply make sure you have selected the Target build profile, then click the Debug icon () in the left toolbar.