How do you approach debugging in embedded systems?

Technical