Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 283
1. Debugger Installation
Billy.Zheng edited this page Jan 15, 2020
·
3 revisions
Debugging in this extension implements the ruby debug ide protocol to allow VS Code to communicate with ruby debug, it requires ruby-debug-ide to be installed on your machine. This is also how RubyMine/NetBeans implement debugging by default.
- If you are using JRuby or Ruby v1.8.x (
jruby,ruby_18,mingw_18)gem install ruby-debug-ide, the latest version is0.6.0. Make sureruby-debug-baseis installed together withruby-debug-ide.
- If you are using Ruby v1.9.x (
ruby_19,mingw_19)gem install ruby-debug-ide, the latest version is0.6.0. Make sureruby-debug-base19xis installed together withruby-debug-ide.
- If you are using Ruby v2.x
gem install ruby-debug-ide -v 0.6.0or higher versionsgem install debase -v 0.2.1or higher versions
Go to the debugger view of VS Code and hit the gear icon. Choose Ruby or Ruby Debugger from the prompt window, then you'll get the sample launch config in .vscode/launch.json