14 comments

[ 0.26 ms ] story [ 18.4 ms ] thread
Or use tests and/or a debugger. Which gives you all the listed benefits w/o an additional dependency.
>Do you ever use print() or log() to debug your code?

I haven't written my own code in months at this point...kind of depressing to think about

i got half way through the readme for this project and had the same thought and got sad and just left the page
My own TS project was inspired by IceCream: https://github.com/Leftium/gg#coding-agent-access

It began as a better `console.log()` for humans, but I ended up making it better for AI coding agents.

I got tired of copying dev console output, so coding agents can now just insert the exact calls they need and query the output without human intervention.

why another tool for that ? think standard with other team/company and use the same integrated ones.
Debugging in python is already so easy with `print(f"{myvar=}")` and `breakpoint()`...
I haven’t used print for debugging for ages. Now it’s all trace on azure and hope your bug ends up in the sampled data in whatever that stupid thing is called. App insights or some rubbish. Apparently a good old log file just isn’t good enough it has to be larded up with a query language. Grep was fine guys.
...use slightly fancier print() instead!
Cannot recommend icecream, way too slow. But the use case of logging shines with realtime systems, or concurrent apps. You won't be able to efficiently debug them without logging. I live in my debugger, but logging is mandatory for the big picture.
Yeah this is a miss for me. I've never felt that this was a considerable source of friction. Certainly not enough to justify a dependency.
hey! icecream author here. let me know your thoughts on what could make icecream more useful to you. feedback is how good products become great