# Seapie – a Python debugger where breakpoints drop into a RE…

Author here. I started seapie as a reaction to pdb's command-driven interface in 2019. I wanted a breakpoint to simply mean 'open a Python REPL here', with debugging functionality layered on top instead of replacing the REPL. `seapie.breakpoint()` opens a working `>>>` REPL at the current execution…

- **Page:** https://magpie.gallery/i/seapie-a-python-debugger-where-breakpoints-drop-in-cviw
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** python, debugger, repl, breakpoint, cli

## Source

Web · markushirsimaki: Seapie – a Python debugger where breakpoints drop into a REPL

- **Original:** https://news.ycombinator.com/item?id=46588032

> Author here. I started seapie as a reaction to pdb's command-driven interface in 2019. I wanted a breakpoint to simply mean 'open a Python REPL here', with debugging functionality layered on top instead of replacing the REPL. `seapie.breakpoint()` opens a working `>>>` REPL at the current execution state. Any changes to variables or function definitions persist. Debugger state is exposed via built-ins (e.g. `_magic_`), and stepping/frame control/etc is handled via small `!commands`. I've been using this regularly in my own work for a few years now. Happy to answer questions or hear criticism, especially from people who've used debuggers heavily. https://github.com/hirsimaki-markus/seapie

## GitHub projects

- https://github.com/hirsimaki-markus/seapie

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
