Skip to content

Instantly share code, notes, and snippets.

View anyidea's full-sized avatar
🎯
Focusing

aiden anyidea

🎯
Focusing
  • Wochcha
  • Shanghai
View GitHub Profile
@gh640
gh640 / use_different_debugger_with_python3.sh
Last active November 4, 2022 08:09
Running IPython or bpython with `breakpoint()` on Python 3
#!/usr/local/bin/bash
# Use IPython.
PYTHONBREAKPOINT=IPython.terminal.debugger.set_trace python myscript.py
# Use bpython.
PYTHONBREAKPOINT=bpdb.set_trace python myscrippt.py