jazz_hands
jazz_hands copied to clipboard
Allow specify including/excluding debugger
Its conflicting with RubyMine's own debugger, but I still want to use the console with Pry for debugging simultaneously.
This is a problem on our team as well. I think it is less of an issue with including debugger and more of an issue with Bundler and not being able to have a local gemfile that doesn't get checked in.
Hrm... with all the incompatibility with 2.0 and others asking for byebug, I think I'll create a branch without pry-debugger and folks can drop in whichever debug mechanism they want.
@localredhead Can't you just set the BUNDLE_GEMFILE
environment variable to Gemfile.local and gitignore it?
@nixme that sounds far too easy to be reasonable! :) I'll suggest that to the RubyMine users in group.
A branch that is void of pry-debugger sounds like the best scenario - but for me I liked the fact that it just worked when it was pre-bundled.
+1 I would love a branch without debugger for now. Until debugger support works in Ruby 2.0 it would be great to have an easier alternative with pry-byebug as mentioned in https://github.com/nixme/jazz_hands/issues/11
@nixme Did you ever get any further with the branch that excludes debugger? I'm refreshing gems on a project, and would like to move away from some of the forks necessary to get jazz_hands working on 2.0 correctly.
Okay. A branch based off 0.5.2 is available at https://github.com/nixme/jazz_hands/tree/bring-your-own-debugger
You can use it in bundler via:
gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'
I might release that combined with @jhre's #13 as major release 1.0 if this works for everyone.
I've been able to come back and revisit this, running the following apears to work fine, this is on ruby 2.0.0
gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'
gem 'pry-byebug'
+1 for releasing this with @jhre's work.
We've been running the bring-your-own branch for a good while now and it has worked flawlessly. It's especially handy when you want to run ruby-head as the debugger
dependency pulls in debugger-ruby_core_source
which is not (and never will be, which is proper of course) updated to ruby-head.
Any chance of seeing this behavior merged to master?
:+1: would love to see this merged on master.
I across this issue today and sort of confused why it still occurs with a fresh attempt to use jazz_hands on a freshly set-up laptop; debugger 1.6.8
was something that forced me unable to finish a bundle, but it seems pry-debugger should have been removed from jazz_hands already?
@lozandier Have you specify the correct branch in your Gemfile?
gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'
That's what I did after trying out gem 'jazz_hands
and it worked, but I
thought jazz_hands
incorporated such changes into the master branch; this
issue ticket was closed with a commit that suggested this had happened, but
apparently not with the version of the gem that is installed by default
with the use of `gem jazz producing the errors described with this ticket.
On Sun, Jul 6, 2014 at 6:09 AM, Charles Yang [email protected] wrote:
@lozandier https://github.com/lozandier Have you specify the correct branch in your Gemfile?
gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'
— Reply to this email directly or view it on GitHub https://github.com/nixme/jazz_hands/issues/12#issuecomment-48111424.
Kevin Lozandier [email protected] [email protected]