ipdb icon indicating copy to clipboard operation
ipdb copied to clipboard

How to set the context width when launching ipdb from the command line?

Open cirosantilli opened this issue 8 years ago • 0 comments

From https://stackoverflow.com/questions/6240887/how-can-i-make-ipdb-show-more-lines-of-context-while-debugging/35883288#35883288 I learned about:

ipdb.set_trace(context=21)

But how to do that when running ipdb from the command line as in:

ipdb ./myprog.py

?

cirosantilli avatar Oct 04 '17 05:10 cirosantilli