Debug Ruby on Rails with VS Code
2019-08-15
Credit to Dāvis Namsons
This one is nice and easy
Make sure that you have the Ruby extension installed.
Install your required gems (check the referenced link if you are pre Ruby 2.0
gem install ruby-debug-ide
gem install debase
Go into your debug menu and click:
- No Configurations
- Add Configuration
- Ruby
- Rails server
A launch.json file will be created, now you just need to launch the debugger, which will launch your Rails server in the debug console!
Like what you see?
Related Posts
2019-04-05
2018-12-07
2018-12-09
2018-12-10
2018-12-11