3

Is there an interpreter for Python similar to Pry for Ruby?

It is very convenient. I can stop the program wherever I want with a statement like binding.pry, and I can inspect the value of variables, manipulating them, etc. It's very good for finding errors.

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
Konstantin
  • 2,983
  • 3
  • 33
  • 55
  • Use `ipdb` which has `ipython` integration. Also it has a `post-mortem` option, which allows you to drop into the debugger (`ipython` shell) when an exception or error occurs. – Houdini Jul 29 '13 at 17:18

0 Answers0