Debugging: Using PDB in Dockerized Environment
Too Long; Didn't Read
Docker and Docker Compose are the most used tools under the DevOps category, according to The State of Developer Ecosystem 2019 survey by JetBrains. In this article, you'll be learning how to use PDB (Python DeBugger) in a Dockerized Python environment. If you are reading this, I believe you already have your Docker set up and are perhaps trying to solve the problem. For the sake of simplicity, I'll be using a toy app I created throughout this tutorial.