Hacker GitHub

← All repos

gruns/icecream

View on GitHub ↗ ★ 10,109 Python

🍦 Never use print() to debug again.

16 mentions on Hacker News by 16 people: 4 stories, 12 comments · first 2018-02-14 · latest 2026-07-19

Mentions per year 16 mentions · busiest year 2019 (4)
20082026
  1. ▲ 35
    IceCream – Never use print() to debug again
    story by gregsadetsky · 2026-07-19 · 22 comments
  2. …in the level of detail. Sometimes there is no spec outside Claude's plans in the chat session. [1]: https://github.com/gruns/icecream
  3. Looks like a fancy version of good old icecream. https://github.com/gruns/icecream If you never heard about it, scroll to the bottom to https://github.com/gruns/icecream#icecream-in-other-language...
  4. Hey, very useful. Thanks! Similar to ic() for python, but with the nice ability to be used inline. https://github.com/gruns/icecream
  5. …this, probably in a more robust way, but I've never used it because I always forget about it. 0: https://github.com/gruns/icecream
  6. …thing being mentioned (and thus help increase awareness and adoption of good tools and resources). https://github.com/gruns/icecream Example: from icecream import ic def foo(i): return i + 333 ic(foo(123)) Prints ic| foo(123): 456
  7. I recently wrote a port of the python IceCream project[ https://github.com/gruns/icecream ]. Feel free to check it out for easier IO.inspect ergonomics: https://github.com/joseph-lozano/ice_cream
    comment by jetpackjoe · 2021-12-04 · in Three Ways to Debug Code in Elixir
  8. …package. Rather than having to type "print( "x: ", x )", you can instead type type "ic(x)". [1] https://github.com/gruns/icecream
  9. It seems like it was a coincidence. See comment thread: https://github.com/gruns/icecream/commit/ee849b840eb34242aa2...
  10. ▲ 485
    Icecream: Never use print() to debug again in Python
    story by polm23 · 2021-03-30 · 262 comments
  11. I use icecream [1] for the same purpose while debugging. It's really handy. [1] https://github.com/gruns/icecream
    comment by azkae · 2020-12-11 · in Implementing Rust's dbg! in Python
  12. I've also never used a debugger. Python libraries like icecream ( https://github.com/gruns/icecream ) make print debugging pretty nice. I wonder if I'm missing out, though. I use VS Code a lot, and have been intending to see if I can fit…
  13. ▲ 77
    Icecream – A little debugging library
    story by pplonski86 · 2019-05-09 · 20 comments
  14. …ergonomics a lot. I wish every language had something like "icecream" built-in. [0]: https://github.com/gruns/icecream
    comment by Rotareti · 2019-05-05 · in I do not use a debugger (2016)
  15. …a really nice project. Good luck with it. But just in case if you from print cult, you will like https://github.com/gruns/icecream
  16. ▲ 12
    Show HN: IceCream – A little library to sweeten debugging in Python
    story by grun · 2018-02-14 · 3 comments