
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
A fork of ruby-debug(19) that works on 1.9.2 and 1.9.3 and installs easily for rvm/rbenv rubies. ruby >= 2.0 are not supported - see below.
$ gem install debugger
# If install fails, try passing headers path
$ gem install debugger -- --with-ruby-include=PATH_TO_HEADERS
For Windows install instructions, see OLD_README.
On install, debugger tries to find your ruby's headers. If it's unable to find them and your ruby is a patch release, it will use headers included with debugger-ruby_core_source. For the list of 1.9.X rubies supported by debugger see here. If your ruby is not an official patch release i.e. head, dev or an rc, you are responsible for having headers and setting them with --with-ruby-include.
Wherever you need a debugger, simply:
require 'debugger'; debugger
To use with bundler, drop in your Gemfile:
gem 'debugger'
At initialization time, debugger loads config files, executing their lines as if they were actual commands a user has typed. config files are loaded from two locations:
To see debugger's current settings, use the set
command.
For a list of commands:
(rdb: 1) help
Most commands are described in rdebug's man page
$ gem install gem-man
$ man rdebug
To debug a separate process remotely (such as unicorn) try:
Debugger.wait_connection = true
Debugger.start_remote
debugger
Then you can do
$ rdebug -c
Some thorough documentation of debugger is found with this bashdb tutorial. For emacs and debugger usage, see another bashdb tutorial
Please report them on github.
See here for contribution policies. Let's keep this working for the ruby community!
Licensing due to the complicated forking history of this project. Licensing is BSD throughout most of the repository except for portions of emacs/, doc/ and old_scripts/ which are GPL.
FAQs
Unknown package
We found that debugger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.