I love [Ruby](http://www.ruby-lang.org/ “Ruby Programming Language”) and [TextMate](http://macromates.com/ “TextMate — The Missing Editor for Mac OS X”). So when my coworker said, “come on, ruby-debug opens in TextMate, it’s a conspiracy”, I nearly jumped for joy.

As of rails 2+, you can interactively debug **”script/server -u”**. One of the commands is **tmate**:

ruby-debug

After you type that, it will open up TextMate with the cursor on the correct line:

ruby-debug-textmate

Once inside TextMate, you can’t really do anything interactively. But, it does become kinda handy when stepping into rails code, you can take a look at the whole method to get a little context.

Pretty Cool!

Post Information

Tags:

  • No Tags

We're Reading

Feeds/Syndication

2 Responses to “ruby-debug meet TextMate”

Leave a Reply