Here are some tips for debugging Python.
VSCode now uses debugpy for debugging, so pip install debugpy
Set breakpoints by clicking in the gutter left of the line numbers.
To debug, you need to have a launch.json file.
Open the Run view by clicking on the Run icon in the Activity Bar on the side, or press Ctrl+Shift+D.