0.0
No commit activity in last 3 years
No release in over 3 years
Debugging ruby with chrome devtools
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 1.6
~> 10.0
~> 3.2
~> 1.6
 Project Readme

RubyInspector

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

Demo

RubyInspector demo gif

See RubyInspector demos for more examples

Getting started

  1. Get a copy of chrome devtools app
  2. Setup and start 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