# Byebug

> A simple to use, feature-rich debugger for Ruby

Source: https://talira.ai/catalog/byebug-srfzwxyk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [developer tools / debugging](https://talira.ai/categories/developer-tools/debugging), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Licence: BSD-2-Clause[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free; also offered to enterprises through the Tidelift Subscription.
- Free tier: yes[^1]
- Backed by: [David Rodríguez](https://talira.ai/orgs/deivid-rodriguez.md)

Byebug is a debugger for Ruby built as a C extension on Ruby's TracePoint API for execution control and its Debug Inspector API for navigating the call stack, so it doesn't depend on Ruby's internal sources. It steps through a program line by line, pauses at breakpoints and events, evaluates code in a basic REPL and tracks variables and executed lines, from a command line interface that front-ends can build on. It needs MRI 3.3 or later, is BSD-2-Clause licensed, and is offered to enterprises through the Tidelift Subscription.

## Links

- GitHub: https://github.com/deivid-rodriguez/byebug

## Problems it solves

- pause my Ruby program and inspect variables at a breakpoint
- step through a failing Rails test line by line
- debug Ruby code from the terminal

## Features

- step through Ruby code line by line
- breakpoints on lines and events
- basic REPL to evaluate code while paused
- track variables and executed lines
- C extension on TracePoint and Debug Inspector APIs

## Limitations

- Needs MRI 3.3.0 or later[^1]

## Trust

Overall: 0.40 out of 1.
Signals: maintenance 0.27, adoption 0.71, momentum 0.40, community 0.78, backing 0.30, extensibility 0.00.

- latest release v13.0.0 10 months ago
- 3.4k GitHub stars
- 86 contributors
- accepts sponsorship (Github, Liberapay, Tidelift)
- backed by David Rodríguez

Warnings:

- last commit 7 months ago

## Alternatives

- [debug (Ruby)](https://talira.ai/catalog/debug-ruby-trcxymvh.md): Ruby's standard debugger, with remote debugging and VS Code and Chrome DevTools frontends
- [pry-byebug](https://talira.ai/catalog/pry-byebug-yvcngsp7.md): Step-by-step debugging and stack navigation in Pry
- [Pry](https://talira.ai/catalog/pry-ghgb9dkd.md): A runtime developer console and IRB alternative for Ruby
- [Python Debugger](https://talira.ai/catalog/python-debugger-9de1dqp1.md): Python debugging with debugpy for Visual Studio Code
- [GDB](https://talira.ai/catalog/gdb-drb2ej9v.md): The GNU Project debugger.
- [GDB dashboard](https://talira.ai/catalog/gdb-dashboard-tvdw7jnz.md): Modular visual interface for GDB in Python

## Sources

[^1]: https://github.com/deivid-rodriguez/byebug (checked 26 Nov 2026)
[^2]: https://github.com/deivid-rodriguez/byebug/blob/main/LICENSE (checked 26 Nov 2026)
