Support/Developer Tips: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 37: Line 37:
pdb's built-in shell is... OK, but iPython is better. To enable iPython in the pdb shell, run this:
pdb's built-in shell is... OK, but iPython is better. To enable iPython in the pdb shell, run this:


  echo "alias i from IPython.Shell import IPShellEmbed as IPSh; IPSh(argv='')()" >> ~/.pdbrc
  echo "alias i from IPython.Shell import IPShellEmbed as IPSh; IPSh(argv='')()" >> ~/.pdbrc


Then in pdb, just type <code>i&lt;enter&gt;</code> to drop into iPython in the same context.
Then in pdb, just type <code>i&lt;enter&gt;</code> to drop into iPython in the same context.
664

edits

Navigation menu