pyo3_special_method_derive_example/debugging.py (3 lines of code) (raw):
"""
Install maturin in a virtual env: `pip install maturin[patchelf]`
Run: `matuin develop -r`
Set breakpoints for debugging, or simply run this program!
"""
import pyo3_smd_example
person = pyo3_smd_example.Person.new_dummy()
# Put a breakpoint here
print(person)