Update zdebug.py to work with ipython 2.0.0

copied from https://github.com/collective/dotipython/ipy_profile_zope.py