Adds step-by-step debugging and stack navigation capabilities to Pry using Byebug for Ruby applications.
pry-byebug is a Ruby gem that enhances the Pry REPL with debugging features, allowing developers to step through code execution and navigate the call stack interactively. It integrates Byebug's debugging engine into Pry, making it easier to inspect and debug Ruby programs without changing how they're launched.
Ruby developers using MRI 3.2.0+ who want interactive debugging capabilities within their existing Pry sessions. It's particularly useful for those who need to debug complex code flows without restarting their applications.
Developers choose pry-byebug because it combines Pry's powerful introspection with Byebug's robust execution control in a seamless integration. Unlike alternatives, it works with standard Pry sessions and requires no special launch procedures, making debugging more intuitive and less disruptive to normal workflows.
Step-by-step debugging and stack navigation in Pry
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works directly with existing Pry sessions by simply adding 'binding.pry' to code, requiring no changes to application launch procedures, as highlighted in the README's installation.
Supports conditional breakpoints and dynamic editing via the 'break' command, with examples in the README for setting breakpoints on methods, lines, or with expressions.
Enables moving up and down the stack with commands like 'up', 'down', and 'frame', allowing inspection of different execution contexts without restarting the debugger.
Provides precise execution flow management with commands like 'step', 'next', 'finish', and 'continue', making it easy to debug complex logic interactively.
Only compatible with MRI Ruby 3.2.0 and above, excluding older versions and alternative implementations like JRuby, as stated in the requirements section.
Default command aliases like 'n' for 'next' were removed in version 3.0 to avoid conflicts, forcing users to manually add them to .pryrc for convenience, adding setup overhead.
Relies on both Pry and Byebug, which can increase bundle size and introduce version conflicts in projects with strict dependency management.