RubyScope is a GUI for ruby-debug and a Chrome app. It works by connecting to a remote ruby-debug instance over a TCP socket.
##Installation##
- After installing Chrome v24 or later, enable developer mode using the checkbox and click the 'Load unpacked extension...' button.
- Download submodules with 'git submodule init' and 'git submodule update'
- Visit chrome://flags and enable "Experimental Extension APIs"
- Restart Chrome, open a new tab and find RubyScope under "Apps"
##Usage## Install ruby-debug and initialize the remote debugger with:
Debugger.wait_connection = true
Debugger.start_remote
Add at least one initial breakpoint to your ruby program with the line:
debugger
Connect to the remote debugger with RubyScope and enjoy the GUI.
##Example##
- Open the example folder: 'cd example'
- Install the example bundle: 'bundle install'
- Run the example app: 'ruby app.rb'
- Start RubyScope and click connect
##Copyright## Copyright (c) 2012, Stephen Crosby. All rights reserved.
##License## RubyScope is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.