Why seapie?
1. Debugging for humans
seapie comes with a user experience focused on discoverability: helpful error messages and built-in help you can reach from anywhere
2. Debug by describing what you want
All debuggers let you step. seapie lets Python expressions walk without magic syntax: ”stop when myfunc returns None, and call stack contains myhelper”
>>> !walk (_event_ == "return") and (_return_ is None) and ("myhelper" in _callstack_)
3. REPL-first by design >>>
Checking a variable is print(myvar) changing it is myvar = None . Debugging !commands work in the REPL and inspecting state is just python:
> >> _magic_ { '_line_' : 8 , '_source_' : ' return round(total_with_tax, 2)' , '_path_' : '/home/hirsimak/seapie/test/demo.py' , '_return_' : 35.64 , '_exception_' : None , '_event_' : 'return' , '_callstack_' : [ '
Hands on example
... continue reading