added plots of strong and weak threshold to debug.py