Python ipdb

From wikinotes

ipdb is an enhanced version of pdb. Some advantages:

  • syntax highlighting
  • tab-completion
  • view entire file (not just snippet)

Install

sudo pip install ipdb

Usage

commands

All of the commands from python pdb are present, but additionally:

ll list entire callable src

within src

import ipdb;ipdb.set_trace()