This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# Debugging Python code | ||
|
||
## ipdb | ||
## pdbpp | ||
|
||
### py.test --ipdb | ||
pdb is the commandline python debugger. It's useful, but by installing | ||
[pdbpp](https://pypi.python.org/pypi/pdbpp/) you get more features (colours, | ||
tab completion etc.) for the same pdb interface. | ||
|
||
## py.test --pdb | ||
|
||
This command is useful because it runs py.test tests, dropping into the | ||
debugger if one of them fails. If it's installed, pdbpp will be used. |
3e8726c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, some work towards #15