icecream
🍦 Never use print() to debug again. (by gruns)
django-debug-toolbar
A configurable set of panels that display various debug information about the current request/response. (by jazzband)
Our great sponsors
icecream | django-debug-toolbar | |
---|---|---|
41 | 19 | |
8,427 | 7,891 | |
- | 0.7% | |
5.6 | 8.4 | |
21 days ago | 4 days ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
icecream
Posts with mentions or reviews of icecream.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-28.
-
Show HN: Dbg.h: C macro for quick and dirty print debugging
Hey, very useful. Thanks! Similar to ic() for python, but with the nice ability to be used inline.
- When you are looking at someone else's code base and you want to make a copy of it to put in a million print statements to understand it, what is good practice in terms of version control and naming the copy?
-
Pythoneers here, what are some of the best python tricks you guys use when progrmming with python
Icecream is great for this. Just calling ic(foo) gives you the same thing on stderr.
- What's you fav ice cream??
-
What Python debugger do you use?
I get around this by using loguru (a wrapper around python's logger), so I get information like the calling function and line number with my debugging statements. I don't use it these days (and actually built something extremely similar around the same time), but icecream is another alternative that facilitates debugging-by-print
- Top 3 hardest things with debugging as a beginner?
-
Does anyone use python debugger?
Most of the time I simply use icecream (a much better version of print()), and sometimes, I use pudb (a visual debugger) for tougher/trickier bugs.
-
Let's do a war
We also have ice cream
-
What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus
I found icecream in a post on this subreddit and still use it as an alternative to print for debugging.
-
A script for print debugging python code
In the future using something like icecream might be interesting as well.
django-debug-toolbar
Posts with mentions or reviews of django-debug-toolbar.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-13.
-
Setting up Django in a Better Way in 5 Minutes and Understanding How It Works
The reason behind this splitting is that we can safely use packages and related settings only where we need. For example, this starter kit has the package django-debug-toolbar. This is only intended for your development environment and not for your production. This can be very risky if used in production because if your Django project encounters errors, all the debug info will be shown to the user which is a severe security risk. Similarly, for tracking errors in production, we're using Sentry which is not needed in our local environment since we already have django-debug-toolbar. For keeping these settings file separate so that they don't conflict with each other, the settings file is split for serving different environments.
-
Difficulty with foreignkey connecting to main object
django-debug-toolbar: https://github.com/jazzband/django-debug-toolbar
-
The Django ecosystem is not so good
https://github.com/jazzband/django-debug-toolbar/issues?q=is%3Aopen+is%3Aissue+label%3ABug
- Slow performance on AJAX queries in Django 4
-
is it alright to use raw sql and not the ORM if my queries are slow?
https://github.com/jazzband/django-debug-toolbar Allows you to check which sql queries are being run on your app. See if they are optimized first.
-
How to improve django template performance?
Perhaps try the django-debug-toolbar. It might be able to tell you what is causing the slow load time.
-
How do I determine where to cache?
I would start with https://github.com/jazzband/django-debug-toolbar and figure out what causes the slowness.
-
Improve your Django query with bulk_create 👋
-> The debugging above from django-debug-toolbar
-
Django Debug Toolbar
Documentation, including installation and configuration instructions, is available at https://django-debug-toolbar.readthedocs.io/.
- Five Easy to Miss PostgreSQL Query Performance Bottlenecks
What are some alternatives?
When comparing icecream and django-debug-toolbar you can also consider the following projects:
pdb++
django-silk - Silky smooth profiling for Django
Loguru - Python logging made (stupidly) simple
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
py-spy - Sampling profiler for Python programs
ipdb - Integration of IPython pdb
Laboratory - Achieving confident refactoring through experimentation with Python 2.7 & 3.3+
pudb - Full-screen console debugger for Python
PySnooper - Never use print for debugging again
django-devserver - A drop-in replacement for Django's runserver.
remote-pdb - Remote vanilla PDB (over TCP sockets).
flask-debugtoolbar - A toolbar overlay for debugging Flask applications
icecream vs pdb++
django-debug-toolbar vs django-silk
icecream vs Loguru
django-debug-toolbar vs django-ninja
icecream vs py-spy
django-debug-toolbar vs ipdb
icecream vs Laboratory
django-debug-toolbar vs pudb
icecream vs PySnooper
django-debug-toolbar vs django-devserver
icecream vs remote-pdb
django-debug-toolbar vs flask-debugtoolbar