Catch Ruby errors before your users do. Monitor Ruby production errors in real-time and debug them in minutes, before users notice. Our open source Ruby SDK works with Rails, Sinatra, and more. Use this link and get one month free!

RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Debug Ruby/Rails in Visual Studio Code (a perfect RubyMine alternative)

VS Code allows users to extend its functionality for grammar, intellisense, or even debugging, so I wrote this extension called vscode-ruby to bring VS Code the ability to debug ruby/rails/etc.

RubyMine or NetBeans leverages ruby-debug-ide, which is totally open sourced, to debug ruby code, so we are able to implement the same mechanism as RubyMine/NetBeans. Till now, we have supported below features in VS Code:

  • Ruby scripts debugging
    • Line breakpoints (add, delete, disable, enable)
    • Step over, step in, step out, continue, pause
    • Multiple, parallel threads
    • Call stack
    • Scope variables
    • Debug console
    • Watch window
    • Variables evaluate/inspect
    • Stop on entry
    • Breaking on uncaught exceptions and errors
    • Attach requests
  • Ruby remote debug
  • Rails

The development is still in progress and more frameworks will be supported later on. Give VS Code and this extension a try, tell us what we can do better, or you can subscribe to our mailing list for updates if interested.

Comments

Doesn’t work with heroku local

Very good, thanks!

http://peng.lv/gitrb returns a 404

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in