{"id":1071,"date":"2014-10-27T11:28:19","date_gmt":"2014-10-27T18:28:19","guid":{"rendered":"http:\/\/www.wiredatom.com\/blog\/?p=1071"},"modified":"2014-10-27T11:32:09","modified_gmt":"2014-10-27T18:32:09","slug":"debugging-ruby-2-1-x-and-rails-4-1-x-with-rubymine","status":"publish","type":"post","link":"https:\/\/www.wiredatom.com\/blog\/2014\/10\/27\/debugging-ruby-2-1-x-and-rails-4-1-x-with-rubymine\/","title":{"rendered":"Debugging Ruby 2.1.x and Rails 4.1.x with RubyMine"},"content":{"rendered":"<p>One of <a href=\"https:\/\/www.jetbrains.com\/ruby\/\">RubyMine&#8217;s<\/a> strongest features is its debugging tool. But it&#8217;s always been finicky to get it working for me. I finally got it to work since upgrading to Ruby 2.1.x. The situation was complicated by <a href=\"https:\/\/github.com\/cldwalker\/debugger\/issues\/125\">Ruby 2.x not yet supported<\/a> by <a href=\"https:\/\/github.com\/cldwalker\/debugger\"><code class=\"codecolorer text default\"><span class=\"text\">debugger<\/span><\/code><\/a> gem&#8230; etc.<\/p>\n<p>To get everything to sing in harmony, here&#8217;s what I used:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/deivid-rodriguez\/byebug\"><code class=\"codecolorer text default\"><span class=\"text\">byebug<\/span><\/code><\/a> (in place of <code class=\"codecolorer text default\"><span class=\"text\">debugger<\/span><\/code>) <\/li>\n<li><a href=\"https:\/\/github.com\/ruby-debug\/ruby-debug-ide\"><code class=\"codecolorer text default\"><span class=\"text\">ruby-debug-ide<\/span><\/code><\/a> gem (<em>RubyMine requirement<\/em>) <\/li>\n<li><a href=\"https:\/\/github.com\/denofevil\/debase\"><code class=\"codecolorer text default\"><span class=\"text\">debase<\/span><\/code><\/a> gem (<em>RubyMine requirement<\/em>)<\/li>\n<\/ul>\n<p>And that was it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of RubyMine&#8217;s strongest features is its debugging tool. But it&#8217;s always been finicky to get it working for me. I finally got it to work since upgrading to Ruby 2.1.x. The situation was complicated by Ruby 2.x not yet supported by debugger gem&#8230; etc. To get everything to sing in harmony, here&#8217;s what I &hellip; <a href=\"https:\/\/www.wiredatom.com\/blog\/2014\/10\/27\/debugging-ruby-2-1-x-and-rails-4-1-x-with-rubymine\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Debugging Ruby 2.1.x and Rails 4.1.x with RubyMine&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[21,10],"tags":[],"class_list":["post-1071","post","type-post","status-publish","format-standard","hentry","category-coding","category-geek-stuff"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p54IqZ-hh","_links":{"self":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/1071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/comments?post=1071"}],"version-history":[{"count":0,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/posts\/1071\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/media?parent=1071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/categories?post=1071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredatom.com\/blog\/wp-json\/wp\/v2\/tags?post=1071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}