Converted debug tutorial to ipython notebook.
updated debugging tutorial.