moved sample code out of Debug.py to provide a better example of its use