-
-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails debugging flag (-u) not working #2
Comments
HI @bitaxis, thanks for the feedback! I got that same issue when I first started developing and using byebug, but didn't investigate further. I am pretty sure what I did was just starting the server in normal mode (without the Could you try that and let me know whether it works for you? |
@deivid-rodriguez Yes. If I leave out the Anyhow, I will close this ticket now. Thanks! |
That's a good question. If I find out I will let you know! :) |
Hi again @bitaxis! I investigated this today. Some answers:
Starting the server in debugging mode allows you to have full stack information in your rails application. That means that the debugger is started when the server is started. If you don't use the debugging flag, the debugger will be started when the
No, it doesn't. Rails specifically requires and starts
I will probably include a similar monkeypatch inside byebug but in the meantime this should work. |
Since byebug 1.5.0 rails debugging flag is no longer necessary. Don't use it. |
So I finally got a chance to try out byebug for debugging my Ruby 2.0.0 Rails 3.2.x apps, and like the fact
next
does not behave likestep
. However, I noticed that if I uninstalled the debugger gem and then installed byebug, and fired up WEBrick, I get the following error:But if I put the line
gem "debugger"
back into my Gemfile beforegem "byebug"
and runbundle install
, then it works just fine.The text was updated successfully, but these errors were encountered: