Skip to content

Conversation

danihodovic
Copy link

PEP 553 introduced the breakpoint() builtin which is short for

import pdb; pdb.set_trace()

it either uses the default debugger or whatever is set in $PYTHONBREAKPOINT
e.g to use pudb

export PYTHONBREAKPOINT=pudb.set_trace

Usage should be {{ object|debugger }}

PEP 553 introduced the breakpoint() builtin which is short for

```
import pdb; pdb.set_trace()
```

it either uses the default debugger or whatever is set in $PYTHONBREAKPOINT
e.g to use pudb
```
export PYTHONBREAKPOINT=pudb.set_trace
```

Usage should be `{{ object|debugger }}`
@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 71.343% when pulling 4500bef on danihodovic:add-debugger-breakpoint into d889269 on django-extensions:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants