{"id":13428036,"url":"https://github.com/deivid-rodriguez/byebug","last_synced_at":"2026-10-19T01:01:53.438Z","repository":{"id":7513004,"uuid":"8863313","full_name":"deivid-rodriguez/byebug","owner":"deivid-rodriguez","description":"Debugging in Ruby","archived":false,"fork":false,"pushed_at":"2026-07-27T03:09:11.000Z","size":4365,"stargazers_count":3352,"open_issues_count":101,"forks_count":329,"subscribers_count":39,"default_branch":"main","last_synced_at":"2026-10-15T18:00:35.891Z","etag":null,"topics":["byebug","debugger","repl","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deivid-rodriguez.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{"github":"deivid-rodriguez","liberapay":"byebug","tidelift":"rubygems/byebug"}},"created_at":"2013-03-18T20:21:11.000Z","updated_at":"2026-10-13T19:06:15.000Z","dependencies_parsed_at":"2026-08-12T07:42:18.599Z","dependency_job_id":null,"html_url":"https://github.com/deivid-rodriguez/byebug","commit_stats":{"total_commits":2745,"total_committers":75,"mean_commits":36.6,"dds":0.2812386156648452,"last_synced_commit":"7e7384836defcfb40b675f5405428515b48eea9e"},"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"purl":"pkg:github/deivid-rodriguez/byebug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deivid-rodriguez%2Fbyebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deivid-rodriguez%2Fbyebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deivid-rodriguez%2Fbyebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deivid-rodriguez%2Fbyebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deivid-rodriguez","download_url":"https://codeload.github.com/deivid-rodriguez/byebug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deivid-rodriguez%2Fbyebug/sbom","scorecard":{"id":332801,"data":{"date":"2025-08-11","repo":{"name":"github.com/deivid-rodriguez/byebug","commit":"4c4591ef0fc8ea50935e72b2213bbb0c760cc008"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Code-Review","score":3,"reason":"Found 2/6 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/daily.yml:1","Warn: no topLevel permission defined: .github/workflows/fedora.yml:1","Warn: no topLevel permission defined: .github/workflows/ubuntu.yml:1","Warn: no topLevel permission defined: .github/workflows/windows.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build.yml:9"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/deivid-rodriguez/byebug/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/deivid-rodriguez/byebug/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/daily.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/deivid-rodriguez/byebug/daily.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fedora.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/deivid-rodriguez/byebug/fedora.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ubuntu.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/deivid-rodriguez/byebug/ubuntu.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/deivid-rodriguez/byebug/windows.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/windows.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/deivid-rodriguez/byebug/windows.yml/master?enable=pin","Warn: containerImage not pinned by hash: docker/Dockerfile:1: pin your Docker image by updating alpine:3.11 to alpine:3.11@sha256:bcae378eacedab83da66079d9366c8f5df542d7ed9ab23bf487e3e1a8481375d","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T03:59:03.250Z","repository_id":7513004,"created_at":"2025-08-18T03:59:03.250Z","updated_at":"2025-08-18T03:59:03.250Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344836268,"owners_count":38330106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-15T02:00:06.843Z","response_time":105,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["byebug","debugger","repl","ruby"],"created_at":"2024-07-31T01:00:44.686Z","updated_at":"2026-10-19T01:01:53.428Z","avatar_url":"https://github.com/deivid-rodriguez.png","language":"Ruby","funding_links":["https://github.com/sponsors/deivid-rodriguez","https://liberapay.com/byebug","https://tidelift.com/funding/github/rubygems/byebug","https://tidelift.com/badges/package/rubygems/byebug","https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=readme_badge","https://liberapay.com/byebug/donate","https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=readme_text","https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=referral\u0026utm_campaign=github\u0026utm_content=enterprise","https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=referral\u0026utm_campaign=github\u0026utm_content=support","https://tidelift.com/security"],"categories":["Debug","Ruby","调试","Web 后端","Gems","Debugging Tools","Debugging"],"sub_categories":["Omniauth","Debugging"],"readme":"# Byebug\n\n[![Version][gem]][gem_url]\n[![Tidelift][tid]][tid_url]\n[![Gitter][irc]][irc_url]\n\n[gem]: https://img.shields.io/gem/v/byebug.svg\n[tid]: https://tidelift.com/badges/package/rubygems/byebug\n[irc]: https://img.shields.io/badge/IRC%20(gitter)-devs%20%26%20users-brightgreen.svg\n\n[gem_url]: https://rubygems.org/gems/byebug\n[tid_url]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=readme_badge\n[irc_url]: https://gitter.im/deivid-rodriguez/byebug\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://github.com/deivid-rodriguez/byebug/workflows/ubuntu/badge.svg)\n![windows](https://github.com/deivid-rodriguez/byebug/workflows/windows/badge.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/rails 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://semver.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://github.com/deivid-rodriguez/byebug/blob/main/GUIDE.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://github.com/cldwalker/debugger\n[pry]: https://github.com/pry/pry\n[debase]: https://github.com/denofevil/debase\n[pry-byebug]: https://github.com/deivid-rodriguez/pry-byebug\n[ruby-debug-passenger]: https://github.com/davejamesmiller/ruby-debug-passenger\n[minitest-byebug]: https://github.com/kaspth/minitest-byebug\n[sublime_debugger]: https://github.com/shuky19/sublime_debugger\n[atom-byebug]: https://github.com/izaera/atom-byebug\n[Liberapay]: https://liberapay.com/byebug/donate\n[Tidelift]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=readme_text\n[Tidelift for enterprise]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=referral\u0026utm_campaign=github\u0026utm_content=enterprise\n[Tidelift support]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug\u0026utm_medium=referral\u0026utm_campaign=github\u0026utm_content=support\n[report a security vulnerability]: https://tidelift.com/security\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeivid-rodriguez%2Fbyebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeivid-rodriguez%2Fbyebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeivid-rodriguez%2Fbyebug/lists"}