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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. IceCream - 🍦 Never use print() to debug again.

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

Scheduled Pinned Locked Moved App Packaging & Development
1 Posts 1 Posters 237 Views 1 Watching
  • 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #1

    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

    Conscious tech

    1 Reply Last reply
    4
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search