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
https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby
Post a comment