Debugging Python modules and Python code at the same time
Sometimes you need to make Python modules whether for performance purposes, technical purpose, fun or whatever, and sometimes you also want to debug this module but you also want to debug it along with your Python code. This tutorial will show you how to debug Python modules and Python code, first separately, then together. First we need a debugger for Python. I chose debugpy as it's very simple to use and provide a great interface between Python and - but not only - VS Code. It can be inst…