You should have a general idea of how to debug microservices now since we covered this well in Chapter 8, Testing Microservices. In this section, we are going to just look at a few core concepts that will tie this together with troubleshooting. The underlying question is usually: Why does it not do what I want it to do? In this section, you will learn how to find the answer.
Let's dive into the following topics:
- Using Xcode for debugging: Xcode offers some convenient tools for debugging.
- Using lldb for debugging: lldb is a great way to debug yourself in the command line.
- Staging and live systems: Separating your development from production is essential for every project.
We are beginning with debugging using Xcode.