Sha256: aac2d62402aff766e2a208cdf0ea45160b63771738308914bc06cb30ec7ece81

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

# RubyInspector ![](https://travis-ci.org/gingermusketeer/ruby_inspector.svg?branch=master)

Allows for ruby apps to be debugged using the standard chrome developer tools

# Demo

![RubyInspector demo gif](https://raw.githubusercontent.com/gingermusketeer/ruby_inspector/master/readme/demo.gif)

See [RubyInspector demos](https://github.com/gingermusketeer/ruby_inspector_demos) for more examples

# Getting started

1. Get a copy of [chrome devtools app](https://github.com/auchenberg/chrome-devtools-app)
2. Setup and start [ruby_inspector_server](https://github.com/gingermusketeer/ruby_inspector_server)
3. Add `gem 'ruby_inspector'` to your gem file
4. Add `RubyInspector.enable("MyAppName", "Optional description")` to enable monitoring
5. Add a breakpoint before the network requests are made
6. Connect the devtools app to your app. apps -> Go
7. Unleash the app from the breakpoint
8. Monitor http traffic


# Todo
- Start the server automatically in the background unless it is started (server.pid?)
- Pull the tcp socket port from the node app (socket.port?)
- Add ruby script debugging via byebug

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_inspector-0.2.0 README.md