frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Seapie – a Python debugger where breakpoints drop into a REPL

https://github.com/hirsimaki-markus/seapie
12•markushirsimaki•2d ago
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.

Comments

malux85•1d ago
I use debuggers heavily, I code like Carmack does - I basically live in the debugger. The REPL at breakpoints is already integrated into my IDEs (all of the different ones) for the last 20 years, I couldn’t imagine a debugger without this functionality.

I guess this could be useful if you were cli only and didn’t use an IDE, but it’s not just the REPL that I like, in my IDE when I hit a breakpoint, I can see all local variables, the whole call stack without having to do anything (don’t have to type commands, don’t have to click buttons) - I want to see the entire program state without having to type a bunch of stuff at a REPL, that would slow me down enormously.

For example in the gif when you hit a breakpoint, print the line straight away! Don’t make me type: print(__line__, __source__) just to see which breakpoint I hit (!)

Also I preview of the variables would be better, in my ide I see a list if all the local variables and all of their values (str, int, float, are just shown, numpy arrays the shape is shown, arrays the first few values are shown and the length) again, all of this without having to type exhaustive print statements into a REPL

Maybe it’s not your focus though, I’m just trying to say what I love about debugger driven development

banditelol•1h ago
Cool, can you share your setup for python and your current ide?
willquack•1d ago
> `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`.

This is largely what `pdb` does already, no? Example:

```

(Pdb) list

  1   something = 100

  2   import pdb; pdb.set_trace()

  3  -> print(f"value is: {something}")
(Pdb) something = 1234

(Pdb) c

value is: 1234

```

I do like that you use `!<cmd>` to avoid the naming collision issue in pdb between commands and python code!!!

skylurk•1d ago
Pdb also has !<cmd>

For example, !interact will give you a working >>> REPL

BiteCode_dev•1h ago
And ipdb if you want ipython repl.
dkdcio•1h ago
you can set breakpoint() to open an IPython REPL with whatever customizations you want (e.g. I turn on vim keybindings)
btreecat•1h ago
How does this compare to pudb? That has a nice TUI and drops you into one of several Python REPL you can choose from.
meken•28m ago
I have a version of this, but it’s “open a Jupyter Notebook here” [1]. Though it’s not as polished as yours.

[1] https://github.com/ebanner/extipy

Is Rust faster than C?

https://steveklabnik.com/writing/is-rust-faster-than-c/
45•vincentchau•3d ago•21 comments

There's a ridiculous amount of tech in a disposable vape

https://blog.jgc.org/2026/01/theres-ridiculous-amount-of-tech-in.html
503•abnercoimbre•1d ago•439 comments

I’m leaving Redis for SolidQueue

https://www.simplethread.com/redis-solidqueue/
141•amalinovic•4h ago•53 comments

Why NUKEMAP isn't on Google Maps anymore (2019)

https://blog.nuclearsecrecy.com/2019/12/13/why-nukemap-isnt-on-google-maps-anymore/
41•fanf2•57m ago•2 comments

Show HN: Tiny FOSS Compass and Navigation App (<2MB)

https://github.com/CompassMB/MBCompass
42•nativeforks•2h ago•18 comments

1000 Blank White Cards

https://en.wikipedia.org/wiki/1000_Blank_White_Cards
232•eieio•10h ago•42 comments

ASCII Clouds

https://caidan.dev/portfolio/ascii_clouds/
238•majkinetor•11h ago•44 comments

Lago (Open-Source Billing) is hiring across teams and geos

1•Rafsark•1h ago

Every GitHub object has two IDs

https://www.greptile.com/blog/github-ids
269•dakshgupta•21h ago•64 comments

Putting the "You" in CPU (2023)

https://cpu.land/
67•vinhnx•4d ago•10 comments

A 40-line fix eliminated a 400x performance gap

https://questdb.com/blog/jvm-current-thread-user-time/
296•bluestreak•14h ago•63 comments

Systematically generating tests that would have caught Anthropic's top‑K bug

https://theorem.dev/blog/anthropic-bug-test/
27•jasongross•2d ago•5 comments

Servo 2025 Stats

https://blogs.igalia.com/mrego/servo-2025-stats/
97•todsacerdoti•1h ago•26 comments

Show HN: OSS AI agent that indexes and searches the Epstein files

https://epstein.trynia.ai/
123•jellyotsiro•11h ago•50 comments

I Hate GitHub Actions with Passion

https://xlii.space/eng/i-hate-github-actions-with-passion/
58•xlii•2h ago•43 comments

The Gleam Programming Language

https://gleam.run/
172•Alupis•10h ago•93 comments

System Programming in Linux: A Hands-On Introduction "Demo" Programs

https://github.com/stewartweiss/intro-linux-sys-prog
15•teleforce•3h ago•0 comments

The truth behind the 2026 J.P. Morgan Healthcare Conference

https://www.owlposting.com/p/the-truth-behind-the-2026-jp-morgan
262•abhishaike•19h ago•54 comments

No management needed: anti-patterns in early-stage engineering teams

https://www.ablg.io/blog/no-management-needed
229•tonioab•18h ago•238 comments

vLLM large scale serving: DeepSeek 2.2k tok/s/h200 with wide-ep

https://blog.vllm.ai/2025/12/17/large-scale-serving.html
121•robertnishihara•21h ago•40 comments

Show HN: 1D-Pong Game at 39C3

https://github.com/ogermer/1d-pong
46•oger•2d ago•9 comments

The $LANG Programming Language

226•dang•13h ago•44 comments

Are two heads better than one?

https://eieio.games/blog/two-heads-arent-better-than-one/
178•evakhoury•21h ago•56 comments

The Emacs Widget Library: A Critique and Case Study

https://www.d12frosted.io/posts/2025-11-26-emacs-widget-library
87•whacked_new•2d ago•29 comments

Show HN: The Tsonic Programming Language

https://tsonic.org
42•jeswin•20h ago•9 comments

April 9, 1940 a Dish Best Served Cold (2021)

https://todayinhistory.blog/2021/04/09/april-9-1940-a-dish-best-served-cold/
64•vinnyglennon•4d ago•8 comments

The Tulip Creative Computer

https://github.com/shorepine/tulipcc
228•apitman•20h ago•53 comments

AI generated music barred from Bandcamp

https://old.reddit.com/r/BandCamp/comments/1qbw8ba/ai_generated_music_on_bandcamp/
851•cdrnsf•19h ago•618 comments

How to make a damn website (2024)

https://lmnt.me/blog/how-to-make-a-damn-website.html
217•birdculture•20h ago•70 comments

Scott Adams has died

https://www.youtube.com/watch?v=Rs_JrOIo3SE
998•ekianjo•22h ago•1525 comments