icecream
ray
Our great sponsors
icecream | ray | |
---|---|---|
41 | 16 | |
8,427 | 545 | |
- | 1.1% | |
5.6 | 8.2 | |
25 days ago | 8 days ago | |
Python | PHP | |
MIT License | MIT License |
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
-
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.
https://github.com/gruns/icecream
- 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.
ray
-
How to Debug PHP and Laravel Code?
I'm using Ray (https://myray.app/) from spatie, it's easy to install (composer) and is doing all I need :)
-
Software Developer Mac Apps
https://myray.app/ (when not xdebugging)
-
How do I get xDebug to chill on remote?
Similar but not free: https://myray.app
- I hate PHP development
- What’s your typical list of paid software and services you use as a Laravel developer?
-
Using `dd` and `dump` in any PHP file on your system
Here is link number 1 - Previous text "Ray"
-
senior developers are amateurs (source in comments)
testimonials gone wrong at myray.app
-
ray VS xr - a user suggested alternative
2 projects | 26 Jan 2022
-
Announcing x-ray
I'm proud to announce the initial release of the spatie/x-ray package for Ray. The x-ray package provides a command-line utility that finds and displays all calls to ray(), rd(), and other functions from the spatie/ray family of packages. Currently, it only supports PHP projects.
-
Speed up migrations when running Laravel tests
This command generates a file in database/schema and deletes all my migration files. Before squashing the migrations, it was taking 11.031 seconds according to well placed Ray call in the RefreshDatabase trait:
What are some alternatives?
pdb++
ray-proxy - a proxy for the Ray app to allow debugging of payloads
Loguru - Python logging made (stupidly) simple
python-devtools - Dev tools for python
py-spy - Sampling profiler for Python programs
backtrace - A better backtrace
Laboratory - Achieving confident refactoring through experimentation with Python 2.7 & 3.3+
laravel-ray - Debug with Ray to fix problems faster in Laravel apps
remote-pdb - Remote vanilla PDB (over TCP sockets).
app - The old version of Buggregator, which uses Laravel framework, is no longer being actively developed. The new beta version, built with Spiral framework, is now available at https://github.com/buggregator/spiral-app and offers significant improvements in performance and stability, as well as a lighter docker image size of around 300mb.
PySnooper - Never use print for debugging again
php-console-extension