Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
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 package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.