Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a pry debug setup that works with ruby 2.0?

Tags:

ruby

pry

ruby-2.0

I'm using ruby 2.0.0-p195 on OSX. pry-debugger does not work (step/continue/next all appear to work like continue). Is there a pry debugging gem that works with ruby 2.0?

update: pry-debugger and pry-byebug both appear to work with with ruby 2.0.0-p195 in a simple project. I have some other conflict that is causing both to fail when using binding.pry in tests...

update: pry-byebug is working for me with the latest ruby 2.0 release, 2.0.0-p247, with pry-byebug 1.1.1 & byebug 1.5.0

like image 860
tee Avatar asked May 22 '13 17:05

tee


Video Answer


1 Answers

pry-byebug 1.1.1+ works with ruby 2.0.0-p247. It's a fork of pry-debugger & works with ruby 2.0+ only.

gem 'pry-byebug'

https://github.com/deivid-rodriguez/pry-byebug

updated with version numbers

like image 83
tee Avatar answered Nov 16 '22 01:11

tee