I'm trying to learn how to use pdb in emacs.
I run emacs in console mode and in my python file I have something like import pdb
and pdb.set_trace()
at the beginning of the file. I use C-c C-c
to execute the buffer and pdb starts running. It works fine except that I end up with a =>
inserted into my code on the line that pdb is looking at. When pdb ends, the =>
characters remain in my code on the last line and I have to manually delete it. How do I prevent this from happening?