tmm1/rbtrace — Issue #11: allow command to be passed to rbtrace
Author: dwo
Created: 2011-11-22 11:59:58+00:00
State: open

I would love to be able to run something like `rbtrace ruby config/environment.rb` much like I'd be able to run `strace ruby config/environment.rb`.

I can't imagine this is too hard, even if it needs to be in a more explicit format like `rbtrace --run 'ruby config/environment.rb'`

What do you think? Up until now i've been doing the rather inneficient dance of:
1) Run ruby command
2) Stop ruby process with Ctrl-Z
3) get pid with `ps | grep ruby`
4) run rbtrace on pid with options