IceCream - 🍦 Never use print() to debug again.
-
https://github.com/gruns/icecreamIceCream — Never use print() to debug again
Do you ever use
print()
orlog()
to debug your code? Of course you
do. IceCream, oric
for short, makes print debugging a little sweeter.ic()
is likeprint()
, but better:- It prints both expressions/variable names and their values.
- It's 40% faster to type.
- Data structures are pretty printed.
- Output is syntax highlighted.
- It optionally includes program context: filename, line number, and
parent function.
IceCream in Other Languages
Delicious IceCream should be enjoyed in every language.
- Dart: icecream
- Rust: icecream-rs
- Node.js: node-icecream
- C++: IceCream-Cpp
- C99: icecream-c
- PHP: icecream-php
- Go: icecream-go
- Ruby: Ricecream
- Java: icecream-java
- R: icecream
- Lua: icecream-lua
- Clojure(Script): icecream-cljc
- Bash: IceCream-Bash