Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    IceCream - 🍦 Never use print() to debug again.

    App Packaging & Development
    1
    1
    101
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robi
      robi last edited by

      IceCream
      https://github.com/gruns/icecream

      IceCream — Never use print() to debug again

      Do you ever use print() or log() to debug your code? Of course you
      do. IceCream, or ic for short, makes print debugging a little sweeter.

      ic() is like print(), but better:

      1. It prints both expressions/variable names and their values.
      2. It's 40% faster to type.
      3. Data structures are pretty printed.
      4. Output is syntax highlighted.
      5. 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

      Life of Advanced Technology

      1 Reply Last reply Reply Quote 4
      • First post
        Last post
      Powered by NodeBB