Skip to content
Interactive ruby debugger in the browser.
Ruby JavaScript
Find file
Latest commit 6121430 @ryanb Merge pull request #1 from cldwalker/continue_header
fix Rack::Lint::LintError on continue command
Failed to load latest commit information.
lib fix Rack::Lint::LintError on continue command
spec fixing continue command
.gitignore adding rake task to start the enlighten server
.rvmrc
Gemfile getting working in Ruby 1.9.2 with gemspec and gemfile
Gemfile.lock loading rake tasks in railtie
README.rdoc
Rakefile
config.ru getting working in Ruby 1.9.2 with gemspec and gemfile
enlighten.gemspec don't make rack version require so specific
try_enlighten.rb adding global enlighten method which loads ruby-debug, setups up remo…

README.rdoc

Enlighten

Use ruby-debug through the browser! This is intended to be a convenient way to debug web applications but it is still in very early development. For those feeling adventerous, here's how to get it set up.

Setup

This will be available as a gem but is not yet. It is currently just a rack application which you can run after downloading this repository.

rackup config.ru

If you browse to the app it will say not yet enlightened. You'll need to trigger ruby-debug remotely in a separate script like this.

require "rubygems"
require "ruby-debug"
Debugger.wait_connection = true
Debugger.start_remote

debugger # call anywhere you want to debug

After this, visit the Enlighten app again and you should see some debugging information as well as an interactive prompt. Much more will be added to improve the experience so stay tuned.

Something went wrong with that request. Please try again.