0.01
No commit activity in last 3 years
No release in over 3 years
Pry is a featureful REPL that looks like it can work nicely with ruby-debug. This gem adds a 'pry' command to invoke Pry in the current context.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0.8.3
 Project Readme

This gem adds a "pry" command to ruby-debug.

To see it in action, run ruby examples/foo.rb and type "pry" at the debug prompt.

To use it in a project, add this to your Gemfile:

gem "ruby-debug-pry", :require => "ruby-debug/pry"

For more information on pry, read this article.

This has been tested on Ruby 1.8.7 p334 and Ruby 1.9.2 p136 and seems to work.

Future Steps

Right now I don't have any of the additional features that ruby-debug's IRB command has. I don't really use them, but it would be nice to have them.

  • next, step, and cont support
  • add autopry configuration variable
  • make debugger state accessible as a global variable