[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7854":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":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":30,"discoverSource":31},7854,"byebug","deivid-rodriguez\u002Fbyebug","deivid-rodriguez","Debugging in Ruby","",null,"Ruby",3353,328,38,75,0,2,29.55,"BSD 2-Clause \"Simplified\" License",false,"main",true,[5,24,25,26],"debugger","repl","ruby","2026-06-12 02:01:45","# Byebug\n\n[![Version][gem]][gem_url]\n[![Tidelift][tid]][tid_url]\n[![Gitter][irc]][irc_url]\n\n[gem]: https:\u002F\u002Fimg.shields.io\u002Fgem\u002Fv\u002Fbyebug.svg\n[tid]: https:\u002F\u002Ftidelift.com\u002Fbadges\u002Fpackage\u002Frubygems\u002Fbyebug\n[irc]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FIRC%20(gitter)-devs%20%26%20users-brightgreen.svg\n\n[gem_url]: https:\u002F\u002Frubygems.org\u002Fgems\u002Fbyebug\n[tid_url]: https:\u002F\u002Ftidelift.com\u002Fsubscription\u002Fpkg\u002Frubygems-byebug?utm_source=rubygems-byebug&utm_medium=readme_badge\n[irc_url]: https:\u002F\u002Fgitter.im\u002Fdeivid-rodriguez\u002Fbyebug\n\nByebug is a simple to use and feature rich debugger for Ruby. It uses the\nTracePoint API for execution control and the Debug Inspector API for call stack\nnavigation. Therefore, Byebug doesn't depend on internal core sources. Byebug is also\nfast because it is developed as a C extension and reliable because it is supported\nby a full test suite.\n\nThe debugger permits the ability to understand what is going on _inside_ a Ruby program\nwhile it executes and offers many of the traditional debugging features such as:\n\n* Stepping: Running your program one line at a time.\n* Breaking: Pausing the program at some event or specified instruction, to\n  examine the current state.\n* Evaluating: Basic REPL functionality, although [pry] does a better job at\n  that.\n* Tracking: Keeping track of the different values of your variables or the\n  different lines executed by your program.\n\n## For enterprise\n\nByebug for enterprise is available via the Tidelift Subscription. [Learn\nmore][Tidelift for enterprise].\n\n## Build Status\n\n![ubuntu](https:\u002F\u002Fgithub.com\u002Fdeivid-rodriguez\u002Fbyebug\u002Fworkflows\u002Fubuntu\u002Fbadge.svg)\n![windows](https:\u002F\u002Fgithub.com\u002Fdeivid-rodriguez\u002Fbyebug\u002Fworkflows\u002Fwindows\u002Fbadge.svg)\n\n## Requirements\n\n* _Required_: MRI 3.3.0 or higher.\n\n## Install\n\n```shell\ngem install byebug\n```\n\nAlternatively, if you use `bundler`:\n\n```shell\nbundle add byebug --group \"development, test\"\n```\n\n## Usage\n\n### From within the Ruby code\n\nSimply include `byebug` wherever you want to start debugging and the execution will\nstop there. For example, if you were debugging Rails, you would add `byebug` to\nyour code:\n\n```ruby\ndef index\n  byebug\n  @articles = Article.find_recent\nend\n```\n\nAnd then start a Rails server:\n\n```shell\nbin\u002Frails s\n```\n\nOnce the execution gets to your `byebug` command, you will receive a debugging prompt.\n\n### From the command line\n\nIf you want to debug a Ruby script without editing it, you can invoke byebug from the command line.\n\n```shell\nbyebug myscript.rb\n```\n\n## Byebug's commands\n\nCommand     | Aliases         | Subcommands\n-------     | -------         | -----------\n`backtrace` | `bt` `w` `where`|\n`break`     | `b`             |\n`catch`     | `cat`           |\n`condition` | `cond`          |\n`continue`  | `c` `cont`      |\n`continue!` | `c!` `cont!`    |\n`debug`     |                 |\n`delete`    | `del`           |\n`disable`   | `dis`           | `breakpoints` `display`\n`display`   | `disp`          |\n`down`      |                 |\n`edit`      | `ed`            |\n`enable`    | `en`            | `breakpoints` `display`\n`finish`    | `fin`           |\n`frame`     | `f`             |\n`help`      | `h`             |\n`history`   | `hist`          |\n`info`      | `i`             | `args` `breakpoints` `catch` `display` `file` `line` `program`\n`interrupt` | `int`           |\n`irb`       |                 |\n`kill`      |                 |\n`list`      | `l`             |\n`method`    | `m`             | `instance`\n`next`      | `n`             |\n`pry`       |                 |\n`quit`      | `q`             |\n`quit!`     | `q!`            |\n`restart`   |                 |\n`save`      | `sa`            |\n`set`       |                 | `autoirb` `autolist` `autopry` `autosave` `basename` `callstyle` `fullpath` `histfile` `histsize` `linetrace` `listsize` `post_mortem` `savefile` `stack_on_error` `width`\n`show`      |                 | `autoirb` `autolist` `autopry` `autosave` `basename` `callstyle` `fullpath` `histfile` `histsize` `linetrace` `listsize` `post_mortem` `savefile` `stack_on_error` `width`\n`skip`      | `sk`            |\n`source`    | `so`            |\n`step`      | `s`             |\n`thread`    | `th`            | `current` `list` `resume` `stop` `switch`\n`tracevar`  | `tr`            |\n`undisplay` | `undisp`        |\n`untracevar`| `untr`          |\n`up`        |                 |\n`var`       | `v`             | `all` `constant` `global` `instance` `local`\n\n## Semantic Versioning\n\nByebug attempts to follow [semantic versioning](https:\u002F\u002Fsemver.org) and\nbump major version only when backwards incompatible changes are released.\nBackwards compatibility is targeted to [pry-byebug] and any other plugins\nrelying on `byebug`.\n\n## Getting Started\n\nRead [byebug's markdown\nguide](https:\u002F\u002Fgithub.com\u002Fdeivid-rodriguez\u002Fbyebug\u002Fblob\u002Fmain\u002FGUIDE.md) to get\nstarted. Proper documentation will be eventually written.\n\n## Related projects\n\n* [pry-byebug] adds `next`, `step`, `finish`, `continue` and `break` commands\n  to `pry` using `byebug`.\n* [ruby-debug-passenger] adds a rake task that restarts Passenger with Byebug\n  connected.\n* [minitest-byebug] starts a byebug session on minitest failures.\n* [sublime_debugger] provides a plugin for ruby debugging on Sublime Text.\n* [atom-byebug] provides integration with the Atom editor [EXPERIMENTAL].\n\n## Contribute\n\nSee [Getting Started with Development](CONTRIBUTING.md).\n\n## Funding\n\nSubscribe to [Tidelift][Tidelift support] to ensure byebug stays actively\nmaintained, and at the same time get licensing assurances and timely security\nnotifications for your open source dependencies.\n\nYou can also help `byebug` by leaving a small (or big) tip through [Liberapay].\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## Credits\n\nEverybody who has ever contributed to this forked and reforked piece of\nsoftware, especially:\n\n* @ko1, author of the awesome TracePoint API for Ruby.\n* @cldwalker, [debugger]'s maintainer.\n* @denofevil, author of [debase], the starting point of this.\n* @kevjames3 for testing, bug reports and the interest in the project.\n* @FooBarWidget for working and helping with remote debugging.\n\n[debugger]: https:\u002F\u002Fgithub.com\u002Fcldwalker\u002Fdebugger\n[pry]: https:\u002F\u002Fgithub.com\u002Fpry\u002Fpry\n[debase]: https:\u002F\u002Fgithub.com\u002Fdenofevil\u002Fdebase\n[pry-byebug]: https:\u002F\u002Fgithub.com\u002Fdeivid-rodriguez\u002Fpry-byebug\n[ruby-debug-passenger]: https:\u002F\u002Fgithub.com\u002Fdavejamesmiller\u002Fruby-debug-passenger\n[minitest-byebug]: https:\u002F\u002Fgithub.com\u002Fkaspth\u002Fminitest-byebug\n[sublime_debugger]: https:\u002F\u002Fgithub.com\u002Fshuky19\u002Fsublime_debugger\n[atom-byebug]: https:\u002F\u002Fgithub.com\u002Fizaera\u002Fatom-byebug\n[Liberapay]: https:\u002F\u002Fliberapay.com\u002Fbyebug\u002Fdonate\n[Tidelift]: https:\u002F\u002Ftidelift.com\u002Fsubscription\u002Fpkg\u002Frubygems-byebug?utm_source=rubygems-byebug&utm_medium=readme_text\n[Tidelift for enterprise]: https:\u002F\u002Ftidelift.com\u002Fsubscription\u002Fpkg\u002Frubygems-byebug?utm_source=rubygems-byebug&utm_medium=referral&utm_campaign=github&utm_content=enterprise\n[Tidelift support]: https:\u002F\u002Ftidelift.com\u002Fsubscription\u002Fpkg\u002Frubygems-byebug?utm_source=rubygems-byebug&utm_medium=referral&utm_campaign=github&utm_content=support\n[report a security vulnerability]: https:\u002F\u002Ftidelift.com\u002Fsecurity\n","Byebug 是一个简单易用且功能丰富的 Ruby 调试器。它利用 TracePoint API 控制程序执行，并通过 Debug Inspector API 实现调用栈导航，因此不依赖于内部核心源代码。作为 C 扩展开发的 Byebug 具有快速响应和高度可靠性，支持全面的测试套件。该调试器允许用户在 Ruby 程序运行时深入理解其内部状态，并提供传统调试特性如单步执行、断点设置、表达式求值及变量跟踪等。适用于需要对 Ruby 应用进行细致调试的各种场景，无论是简单的脚本还是复杂的 Rails 项目都能轻松应对。","2026-06-11 03:14:44","top_language"]