Pry
pry-rescue
Our great sponsors
Pry | pry-rescue | |
---|---|---|
35 | 4 | |
6,715 | 845 | |
0.3% | - | |
6.7 | 4.6 | |
2 days ago | 3 months ago | |
Ruby | Ruby | |
GNU General Public License v3.0 or later | 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.
Pry
-
Ruby 3.3
that's surprising considering `pry`[1] is such an amazing debugger IMO.
-
Enhancing development with REPLs - A practical guide
All of my recent tutorials and projects were primarily managed using the default Ruby REPL, irb, and I must say it's been nothing short of amazing. However, what ultimately prompted me to switch to Pry was its offering of better defaults. But what exactly does that mean? Let me demonstrate:
- Free/low cost IDE recommendations please. :)
-
Debugging Help
For older versions: Pry Gem
-
Anyone else working through Michael Hartl's Learn Enough RoR Series that might be able to help me with a failing unit test?
To do that, I would install `pry` into your rails project and then use it look around right before your test fails.https://github.com/pry/pry
- I made a tool to help cleanly copy & paste code from irb/pry sessions
-
shell-maker: Make your own shell in 15 lines of elisp (batteries included)
This means I can be editing a shell script and easily inject arbitrary regions into a shell buffer for immediate testing (point never leaves the window where I am editing, and I can view the shell output in an adjacent window). This is similar to what Robe does with Pry within an inferior Ruby process using comint.
-
Building GitHub with Ruby on Rails
https://pry.github.io/ - also a lot of features from Pry have made it into the default IRB these days, but I still use pry. I don't know the equivalent commands in IRB.
-
Is parallel threading never going to be a thing?
For debugging, while not multi-threaded, to my knowledge, is the pry gem for debugging. There are a few different flavors, for instance, my favorite is pry-byebug.
-
Top 5 Ruby on Rails Gems
Github Link : https://github.com/pry/pry
pry-rescue
-
Enhancing development with REPLs - A practical guide
Alongside the wide range of gems around the pry REPL we have pry-rescue that allow us to start a debugging REPL as soon as a test fails, that way we can investigate and fix it before waiting for all the other tests to run:
- Debugging Ruby application running in docker with VS code
-
Pry Cheat Sheet
Add the pry-rescue gem.
-
On repl-driven programming
Breakloop: a quick Google shows that pry-rescue and web-console exist, which are pretty much it
What are some alternatives?
Byebug - Debugging in Ruby 2
vscode-ruby - Provides Ruby language and debugging support for Visual Studio Code
Hirb - A mini view framework for console/irb that's easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.
Better Errors - Better error page for Rack apps
irbtools - Improvements for Ruby's IRB console 💎︎
zeitwerk - Efficient and thread-safe code loader for Ruby
debug - Debugging functionality for Ruby
deprecated-coalton-prototype - Coalton is (supposed to be) a dialect of ML embedded in Common Lisp.
pry-remote - Connect to Pry remotely
pry-reload
Amazing Print - Pretty print your Ruby objects with style -- in full color and with proper indentation
Ruby on Rails - Ruby on Rails