VSCode rdbg Ruby Debugger installs statistics
By Koichi Sasada · VS Code Marketplace · Debuggers
Ruby's rdbg debugger support for VSCode
VSCode rdbg Ruby Debugger has 1,090,228 recorded installs on VS Code Marketplace, an increase of 1.8% over the past 30 days, ranking #520 of 2,515 tracked listings.
Rating: 5.00 / 5 from 9 ratings
About VSCode rdbg Ruby Debugger
VSCode Ruby rdbg Debugger
Ruby debugger to connect debug library which utilize recent Ruby's debug support features.
Requirement
You need to install latest debug gem and rdbg command should be in $PATH.
$ gem install debug
How to use
Launch without configuration
Without any configuration, you can use this debugger by "Start Debugging" (F5 key) if you activate .rb file.
You will see the "Debug command line" input dialog. Please specify your favorite command line you want to debug.
For example:
ruby foo.rb(launchfoo.rb)ruby foo.rb 10 20 30(launchfoo.rbwith options10,20and30)rake taskA(launchraketasktaskA)bundle exec rspec(launchrspeccommand withbundle exec)bin/rails s(launchbin/rails s)
When you select a command line, the specified command will run on rdbg debugger, and VSCode will connect to the rdbg debugger with UNIX domain socket.
And new terminal is created (named rdbg).
You can see stdout/err outputs and you can input stdin on rdbg terminal.
You can stop the programs
- by setting breakpoints (F9) on source code.
- by exception (if you enable "rescue exception").
- by pushing the Pause button (F6).
When the program stops, you can see "Call stack", "Variables" and you can set "Watch" expressions. On the debug console, you can input valid Ruby program and you will get an evaluation result on selected context ("Call stack").
See also: Debugging in Visual Studio Code
For developers: RUBY_DEBUG_DAP_SHOW_PROTOCOL=1 on rdbg terminal will show the all DAP protocol.
Launch with configurations
You can write your favorite setting in .vscode/launch.json.
To make a .vscode/launch.json with default settings, you only need to click "create a launch.json file" on the "Run and Debug" pane. And you will see the following default configurations.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "rdbg",
"name": "Debug current file with rdbg",
"request": "launch",
"script": "${file}",
"args": [],
"askParameters": true
},
{
"type": "rdbg",
"name": "Attach with rdbg",
"request": "attach"
}
]
}
It contains "Debug current file with rdbg" (launch) configuration and "Attach with rdbg" (attach) configuration. You can modify this configuration, and also you can add your favorite configuration like:
{
"type": "rdbg",
"name": "Run rake test",
"request": "launch",
"command": "rake",
"script": "test", // launch rake test with debugger
"args": [],
"askParameters": false // Do not ask startup parameter any more
},
You can use the following "launch" configurations.
- Debuggee settings
script- A target script file name.
- default: an active ruby file on VSCode
command- Executable Ruby command. You can specify
bundle exec rubyfor example. - default:
ruby
- Executable Ruby command. You can specify
cwd- Directory to execute the program in.
- default:
${workspaceFolder}
args- Command line arguments passed to the program.
- default:
[]
env- Additional environment variables to pass to the debugging (and debugged) process.
- default: N/A
useBundler:- Execute Ruby programs with
bundle execifcommandconfiguration is not given. andGemfileis available in the workspace. - Note that you can specify this
useBundlerby the extension configuration (default: true). - default: undefined (and the extension configuration default value is
true)
- Execute Ruby programs with
- Behavior settings
askParameters- Ask "Debug command line" before debugging. If the MAIN program is always same, set it false.
- Note that the last invoked command is remembered.
- default: true
rdbgPath- Location of the rdbg executable.
- Note that you can specify this
rdbgPathby the extension configuration (default:rdbg). - default:
rdbg
debugPort- Without
debugPortconfiguration, open a UNIX Domain Socket (or TCP/IPlocalhost:0on Windows) to communicate with debuggee. If you want to use another debug port, set this configuration.- Digits (e.g.
12345): open a TCP/IP debug port with port12345 hostname:port(e.g.hostname:12345): open a TCP/IP port12345and hostnamehostname- Otherwise, open a UNIX Domain socket with the filename given by this configuration.
- Digits (e.g.
- Note that you can specify
0TCP/IP port (choose usable port) with debug.gem v1.5.0 or later.
- Without
waitLaunchTime- If you want to open TCP/IP debug port, you may need to wait for opening debug port. On default, it waits 5000 milliseconds (5 sec) but if it is not enough, please specify more wait time (default:
5000in milliseconds). - With debug.gem 1.5.0 and later you may not need this configuration.
- If you want to open TCP/IP debug port, you may need to wait for opening debug port. On default, it waits 5000 milliseconds (5 sec) but if it is not enough, please specify more wait time (default:
useTerminal- If the configuration is true, create a new terminal and then execute the debug command line there. It is a bit slower.
- Otherwise, all outputs to the STDIN/OUT are shown in the DEBUG CONSOLE.
- If you need to use STDIN, please set this option.
- default: false
showProtocolLog- Prints all DAP communication log in "rdbg" output. This is for development of this…
Description from the VS Code Marketplace listing.
- debug
- debugger
- debuggers
- debugging
- rdbg
- ruby
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Debuggers plugins
All 20 VSCode rdbg Ruby Debugger alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.