[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8068":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},8068,"pry-byebug","deivid-rodriguez\u002Fpry-byebug","deivid-rodriguez","Step-by-step debugging and stack navigation in Pry","",null,"Ruby",2031,145,19,35,0,3,58.79,"MIT License",false,"master",true,[24,25,5,26,27],"debugger","pry","repl","ruby","2026-06-12 04:00:37","# pry-byebug\n\n[![Version][VersionBadge]][VersionURL]\n[![Build][CIBadge]][CIURL]\n[![Inline docs][InchCIBadge]][InchCIURL]\n\nAdds step-by-step debugging and stack navigation capabilities to [pry] using\n[byebug].\n\nTo use, invoke pry normally. No need to start your script or app differently.\nExecution will stop in the first statement after your `binding.pry`.\n\n```ruby\ndef some_method\n  puts 'Hello World' # Run 'step' in the console to move here\nend\n\nbinding.pry\nsome_method          # Execution will stop here.\nputs 'Goodbye World' # Run 'next' in the console to move here.\n```\n\n## Requirements\n\nMRI 3.2.0 or higher.\n\n## Installation\n\nAdd\n\n```ruby\ngem 'pry-byebug'\n```\n\nto your Gemfile and run\n\n```console\nbundle install\n```\n\nMake sure you include the gem globally or inside the `:test` group if you plan\nto use it to debug your tests!\n\n## Commands\n\n### Step-by-step debugging\n\n**break:** Manage breakpoints.\n\n**step:** Step execution into the next line or method. Takes an optional numeric\nargument to step multiple times.\n\n**next:** Step over to the next line within the same frame. Also takes an\noptional numeric argument to step multiple lines.\n\n**finish:** Execute until current stack frame returns.\n\n**continue:** Continue program execution and end the Pry session.\n\n### Callstack navigation\n\n**backtrace:** Shows the current stack. You can use the numbers on the left\nside with the `frame` command to navigate the stack.\n\n**up:** Moves the stack frame up. Takes an optional numeric argument to move\nmultiple frames.\n\n**down:** Moves the stack frame down. Takes an optional numeric argument to move\nmultiple frames.\n\n**frame:** Moves to a specific frame. Called without arguments will show the\ncurrent frame.\n\n## Matching Byebug Behaviour\n\nIf you're coming from Byebug or from Pry-Byebug versions previous to 3.0, you\nmay be lacking the 'n', 's', 'c' and 'f' aliases for the stepping commands.\nThese aliases were removed by default because they usually conflict with\nscratch variable names. But it's very easy to reenable them if you still want\nthem, just add the following shortcuts to your `~\u002F.pryrc` file:\n\n```ruby\nif defined?(PryByebug)\n  Pry.commands.alias_command 'c', 'continue'\n  Pry.commands.alias_command 's', 'step'\n  Pry.commands.alias_command 'n', 'next'\n  Pry.commands.alias_command 'f', 'finish'\nend\n```\n\nAlso, you might find useful as well the repeat the last command by just hitting\nthe `Enter` key (e.g., with `step` or `next`). To achieve that, add this to\nyour `~\u002F.pryrc` file:\n\n```ruby\n# Hit Enter to repeat last command\nPry::Commands.command \u002F^$\u002F, \"repeat last command\" do\n  pry_instance.run_command Pry.history.to_a.last\nend\n```\n\n## Breakpoints\n\nYou can set and adjust breakpoints directly from a Pry session using the\n`break` command:\n\n**break:** Set a new breakpoint from a line number in the current file, a file\nand line number, or a method. Pass an optional expression to create a\nconditional breakpoint. Edit existing breakpoints via various flags.\n\nExamples:\n\n```ruby\nbreak SomeClass#run            # Break at the start of `SomeClass#run`.\nbreak Foo#bar if baz?          # Break at `Foo#bar` only if `baz?`.\nbreak app\u002Fmodels\u002Fuser.rb:15    # Break at line 15 in user.rb.\nbreak 14                       # Break at line 14 in the current file.\n\nbreak --condition 4 x > 2      # Change condition on breakpoint #4 to 'x > 2'.\nbreak --condition 3            # Remove the condition on breakpoint #3.\n\nbreak --delete 5               # Delete breakpoint #5.\nbreak --disable-all            # Disable all breakpoints.\n\nbreak                          # List all breakpoints.\nbreak --show 2                 # Show details about breakpoint #2.\n```\n\nType `break --help` from a Pry session to see all available options.\n\n## Alternatives\n\nNote that all of the alternatives here are incompatible with pry-byebug. If\nyour platform is supported by pry-byebug, you should remove any of the gems\nmentioned here if they are present in your Gemfile.\n\n* [pry-debugger]: Provides step-by-step debugging for MRI 1.9.3 or older\n  rubies. If you're still using those and need a step-by-step debugger to help\n  with the upgrade, pry-debugger can be handy.\n\n* [pry-stack_explorer]: Provides stack navigation capabilities for MRI 1.9.3 or\n  older rubies. If you're still using those and need to navigate your stack to\n  help with the upgrade, pry-stack_explorer can be handy.\n\n* [pry-nav]: Provides step-by-step debugging for JRuby.\n\n## Contribute\n\nSee [Getting Started with Development](CONTRIBUTING.md).\n\n## Funding\n\nSubscribe to [Tidelift] to ensure pry-byebug stays actively maintained, and at\nthe same time get licensing assurances and timely security notifications for\nyour open source dependencies.\n\nYou can also help `pry-byebug` by leaving a small (or big) tip through [Liberapay].\n\n[Tidelift]: https:\u002F\u002Ftidelift.com\u002Fsubscription\u002Fpkg\u002Frubygems-pry-byebug?utm_source=rubygems-pry-byebug&utm_medium=referral&utm_campaign=readme\n[Liberapay]: https:\u002F\u002Fliberapay.com\u002Fpry-byebug\u002Fdonate\n\n## Security contact information\n\nPlease use the Tidelift security contact to [report a security vulnerability].\nTidelift will coordinate the fix and disclosure.\n\n[report a security vulnerability]: https:\u002F\u002Ftidelift.com\u002Fsecurity\n\n## Credits\n\n* Gopal Patel (@nixme), creator of [pry-debugger], and everybody who contributed\n  to it. pry-byebug is a fork of pry-debugger so it wouldn't exist as it is\n  without those contributions.\n* John Mair (@banister), creator of [pry].\n\nPatches and bug reports are welcome.\n\n[pry]: https:\u002F\u002Fpry.github.io\n[byebug]: https:\u002F\u002Fgithub.com\u002Fdeivid-rodriguez\u002Fbyebug\n[pry-debugger]: https:\u002F\u002Fgithub.com\u002Fnixme\u002Fpry-debugger\n[pry-nav]: https:\u002F\u002Fgithub.com\u002Fnixme\u002Fpry-nav\n[pry-stack_explorer]: https:\u002F\u002Fgithub.com\u002Fpry\u002Fpry-stack_explorer\n\n[VersionBadge]: https:\u002F\u002Fbadge.fury.io\u002Frb\u002Fpry-byebug.svg\n[VersionURL]: http:\u002F\u002Fbadge.fury.io\u002Frb\u002Fpry-byebug\n[CIBadge]: https:\u002F\u002Fgithub.com\u002Fdeivid-rodriguez\u002Fpry-byebug\u002Factions\u002Fworkflows\u002Fubuntu.yml\u002Fbadge.svg?branch=master\n[CIURL]: https:\u002F\u002Fgithub.com\u002Fdeivid-rodriguez\u002Fpry-byebug\u002Factions\u002Fworkflows\u002Fubuntu.yml\n[InchCIBadge]: http:\u002F\u002Finch-ci.org\u002Fgithub\u002Fdeivid-rodriguez\u002Fpry-byebug.svg?branch=master\n[InchCIURL]: http:\u002F\u002Finch-ci.org\u002Fgithub\u002Fdeivid-rodriguez\u002Fpry-byebug\n","pry-byebug 是一个为 Ruby 的 Pry 交互式 shell 添加逐行调试和堆栈导航功能的工具。它通过集成 byebug 调试器，使得开发者可以在 Pry 中进行断点设置、单步执行（step）、下一步执行（next）、继续执行（continue）等操作，并且支持在调用栈之间上下移动。项目采用 MIT 许可证发布，适用于需要在开发过程中进行详细代码调试的场景，尤其是当开发者希望利用 Pry 的强大交互能力来诊断复杂问题时。对于 MRI 3.2.0 或更高版本的 Ruby 环境，只需简单地将 pry-byebug 添加到 Gemfile 并安装即可开始使用。",2,"2026-06-11 03:15:55","top_language"]