Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Debugging toolbar for Rack applications implemented as middleware

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 History.txt
Octocat-spinner-32 MIT-LICENSE.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Thorfile
Octocat-spinner-32 VERSION
Octocat-spinner-32 rack-bug.gemspec
README.rdoc

Usage:

script/plugin install git://github.com/brynary/rack-bug.git 

# config/environments/development.rb
config.middleware.use "Rack::Bug"

# add bookmarklet to browser
open http://RAILS_APP/__rack_bug__/bookmarklet.html

Notes:

To use rack-bug with hoptoad, you need to stub hoptoad from trying to serialize the environment variables
that rack-bug uses like so:

HoptoadNotifier.configure do |config|
  config.environment_filters << 'rack-bug.*'
end

Thanks to:

Django debug toolbar
Rails footnotes
Rack's ShowException middleware
Oink
Rack::Cache
Something went wrong with that request. Please try again.