debugging/pdb for dockerised django

  1. add breakpoint() in code
  2. run the following bash command
docker container ls
docker attach ID # ID is the container id for oneview-django image