To debug something in python + vs code with breakpoints

This video is a good resource for getting setup:

https://www.youtube.com/watch?v=ZvVi8FhFpz8&t=321s

python3 -m debugpy --listen 10.20.0.219:5678 --wait-for-client csv_to_pg_importer.py

then you will need to change the launch.json file and set justMyCode to false.

 

Then use the following on vscodes gui