6 ms·
> Ruby Debug is impossible to get working in 1.9.3. Ruby 1.9 ships with a debugger: require 'debug' Besides, I've often find Pry way more useful: https:/
by judofyr 15y ago
> Ruby Debug is impossible to get working in 1.9.3.
Ruby 1.9 ships with a debugger:
require 'debug'
Besides, I've often find Pry way more useful: https://github.com/pry/pry https://github.com/pry/pry
- railsjedi 15y agoThanks for the heads up. I've searched far and wide to find any sort of docs for the built in debugger. ruby-debug was incredibly easy to use. require 'debug' sets a breakpoint, but I cant figure out any way to interact with it. I use pry, however I've found it's very unreliable for stepping into shoulda tests, and often it errors out. I haven't been able to find stable alternatives to the most common ruby-debug commands 'l', 'e', 'n' and 'c'.