FranGoitia
FranGoitia

Reputation: 1993

ByeBug Debugger working only once [Rails 4]

I'm having the problem that byebug class are ignored after the first one. It's very strange. I start the server. Whenever there is a byebug statement, if it is the first one since the server has started, it will work. If not, it will say this message: *** Byebug already started. Ignoringbyebugcall. and the only way for the debugger to work would be to restart the server (and it will only work once).

Any help would be really appreciated.

BTW, this happens with every project.

Thanks.

Upvotes: 8

Views: 1498

Answers (1)

davetapley
davetapley

Reputation: 17898

This has been reported and fixed, but isn't in a release yet.

To work around for now you update your Gemfile with:

gem 'byebug', github: 'deivid-rodriguez/byebug', branch: 'master'

Then bundle update byebug and restart your Rails server.

Upvotes: 6

Related Questions