Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] How to use pdb++ with pytest? #3412

Closed
fkromer opened this issue Apr 19, 2018 · 6 comments
Closed

[Documentation] How to use pdb++ with pytest? #3412

fkromer opened this issue Apr 19, 2018 · 6 comments
Labels
platform: mac mac platform-specific problem type: question general question, might be closed after 2 weeks of inactivity

Comments

@fkromer
Copy link

fkromer commented Apr 19, 2018

Is there a way to use pdb++ as debugger with pytest? E.g. to use it as replacement for plain command line option --pdb by adding the command line option --pdbcls=...?

@pytestbot
Copy link
Contributor

GitMate.io thinks possibly related issues are #472 (skipif documentation has broken example using pytest.config), #390 (support pdb.set_trace() with pytest-xdist), #1894 (pytest 3.0.+ and unicode), #1932 (pytest --pdb is no longer working with Flask_testing), and #399 (Debug output is invisible when using pytest with pdb and pyreadline (Windows)).

@pytestbot pytestbot added the platform: mac mac platform-specific problem label Apr 19, 2018
@RonnyPfannschmidt
Copy link
Member

just install it and it will be used (i implemented the support for that trick for wheel based installs in pdb++)

@RonnyPfannschmidt RonnyPfannschmidt added the type: question general question, might be closed after 2 weeks of inactivity label Apr 19, 2018
@fkromer
Copy link
Author

fkromer commented Apr 19, 2018

@RonnyPfannschmidt Does it work with ipdb as well? With --pdb: What is the default debugger in case several are installed?

@RonnyPfannschmidt
Copy link
Member

@fkromer psb++ replaces pdb with a interesting hack, ipdb needs own support like from pytest-ipdb

the default is always pdb usag

@blueyed
Copy link
Contributor

blueyed commented Apr 19, 2018

@RonnyPfannschmidt

i implemented the support for that trick for wheel based installs in pdb++

Thanks, wasn't aware of that.
I really like pdbpp and that it replaces pdb so well.
Maybe you could help reviewing some of my latest PRs for pdbpp to fix some issues in this regard? https://github.com/antocuni/pdb/pulls

I think this issue / question can be closed then.

@blueyed blueyed closed this as completed Apr 19, 2018
@RonnyPfannschmidt
Copy link
Member

@blueyed currently i'm no longer working on pdb++ - it's terminal ux library is unmaintained and i haven't found another maintainer for that (pyrepl)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: mac mac platform-specific problem type: question general question, might be closed after 2 weeks of inactivity
Projects
None yet
Development

No branches or pull requests

4 participants