

Great, so now we see the error that is thrown. You usually want to show the logs of the failures: Or maybe you’re seeing something like this:
DEBUG SCRIPT PYTHON CODE
When your Python code reaches either of these it will halt code execution and break into the interactive debugger. As a Python developer, you inject import pdb pdb.set_trace() or the newer breakpoint() function (as of Python 3.7). Python debuggingĭebugging a Python application is typically done with pdb.
DEBUG SCRIPT PYTHON SOFTWARE
Debugging software running in a Kubernetes cluster can be a different level of difficulty! With the power and capabilities that Kubernetes brings us, it also adds an additional complexity for debugging our software. Debugging software running on a VM can be hard. Also commonly referred to as breaking into the debugger.ĭebugging software running on your local dev machine can be challenging. By debugging, I’m specifically referring to an interactive debugging session. This is the reality that we live in.Īs a software programmer, it is absolutely critical that you are able to debug software. It throws errors, and it fails in unexpected ways.

It stops doing what we think it should be doing.
