question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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=...?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
RonnyPfannschmidtcommented, Apr 19, 2018

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

0reactions
RonnyPfannschmidtcommented, Apr 20, 2018

@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)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging in Python using pytest.set_trace() - Qxf2 BLOG
pytest by default comes with Python debugger support and allows to open the debugger pdb prompt(via a command line option) at the start...
Read more >
Usage and Invocations — pytest documentation
To set a breakpoint in your code use the native Python import pdb;pdb.set_trace() call in your code and pytest automatically disables its output...
Read more >
Can I debug with python debugger when using py.test ...
it's real simple: put an assert 0 where you want to start debugging in your code and run your tests with: py.test --pdb....
Read more >
pdb — The Python Debugger — Python 3.11.1 documentation
The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and single stepping at the ...
Read more >
Debugging Your Unit Test Suite in Python | Capital One
Using pytest --pdb ... If you run your tests with pytest --pdb, it will automatically drop into a debugger on every test that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found