Skip to content

Instantly share code, notes, and snippets.

@julianobarbosa
Created August 8, 2020 14:39
Show Gist options
  • Save julianobarbosa/5b92bc4fa46d9b9cb2f796a551bd370f to your computer and use it in GitHub Desktop.
Save julianobarbosa/5b92bc4fa46d9b9cb2f796a551bd370f to your computer and use it in GitHub Desktop.
ipython

#1 Add them directly to you code

import pdb; pdb.set_trace()
# or
import ipdb; ipdb.set_trace()

#2: Set them interactively

python -m pdb hello.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment