This documentation covers a development version of IPython. The development version may differ significantly from the latest stable release.
This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.
If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).
TerminalPdb(*args, pt_session_options=None, **kwargs)¶
Standalone IPython debugger.
__init__(*args, pt_session_options=None, **kwargs)¶
Create a new IPython debugger.
color_scheme – Deprecated, do not use.
completekey – Passed to pdb.Pdb.
stdin – Passed to pdb.Pdb.
stdout – Passed to pdb.Pdb.
context – Number of lines of source code context to show when displaying stacktrace information.
kwargs – Passed to pdb.Pdb. The possibilities are python version dependent, see the python docs for more info.
Repeatedly issue a prompt, accept input, parse an initial prefix off the received input, and dispatch to action methods, passing them the remainder of the line as argument.
override the same methods from cmd.Cmd to provide prompt toolkit replacement.
Initialize the prompt session and the prompt loop and store them in self.pt_app and self.pt_loop.
Additional keyword arguments for the PromptSession class can be specified in pt_session_options.