
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
ruby-debug-passenger
Advanced tools
I wanted to use Phusion Passenger as an Apache module (not standalone) but still be able to use the interactive Ruby debugger.
Thanks to Adam Meehan I was able to do that, and I decided to make it into a reusable Gem.
This is been tested on:
and
and
It will probably work on other versions, but not on Rails 2.
It may or may not work on Ruby 1.8.
Add this to your Gemfile
if you are on Ruby 2.0
gem "byebug"
gem "ruby-debug-passenger"
or this if you are on Ruby 1.9
gem "debugger"
gem "ruby-debug-passenger"
or this if you are on Ruby 1.8, but it hasn't been tested!
gem "ruby-debug"
gem "ruby-debug-passenger"
Then run bundle install
to install it.
Add debugger
(for rubies under 2.0) or byebug
(for rubies from 2.0) anywhere
in your Ruby code that you want to invoke the debugger. Or in an ERB template,
add <% debugger %>
or <% byebug %>
instead.
Run rake debug
to restart Phusion Passenger and connect to the debugger. (You
will be prompted to reload the app in your browser.)
byebug
gem (David Rodríguez)debugger
gem (Kai Middleton) #1MIT License - see LICENSE.txt
.
FAQs
Unknown package
We found that ruby-debug-passenger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.