Debugging microservices

If your program does go wrong, you need debugging tools to fix that, which we will explore in this section. Debugging not only means interactive debugging using a debugger—a special tool that helps you to execute program step by step—you can also use logging to trace all activities of the code. To understand the cause of the error, you can use the following tools:

  • curl: a command-line tool that we already used to send HTTP requests
  • Postman: a GUI tool for testing REST APIs
  • mitmproxy:  a proxy to trace all requests passing through it
  • LLDB: a traditional command-line debugger
  • VS Code: an editor with good LLDB integration

Let's explore all of them.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.137.59