ipython/ipython — Issue #1365: is there interest in being able to configure the number of context lines shown while stepping through code?
Author: ernop
Created: 2012-02-02 11:06:16+00:00
State: open

I usually modify IPython/core/debugger.py , to change the function print_stack_entry to default to showing much more context around the current line. It's just a one line change (changing the default context to 15 or so, up from 3)

I find it makes stepping through code a lot better.

I was thinking of adding a configuration option to allow users to control the size of the stack entry shown. Would anyone else be interested in this?