mxcl/homebrew — pull request #10435 by camillol (2012-02-24 00:23:53+00:00)
Title: debrew: formula debugging for homebrew

A new feature for easing the pain of working with complex formulas, or formulas
for large packages. When running brew in debug mode (-d), if an exception
propagates outside the formula's install method, you now get a menu which lets
you return to the point where the exception was raised and perfom several useful
actions, such as:
- printing a backtrace
- entering IRB to examine the context and test ruby code
- entering the debugger (if ruby-debug is available)
- entering a shell
- ignoring the exception or proceeding with the raise as normal

Fixes issue #6743