We've moved discussions to Discord

Foreman + byebug = ?

When starting the rails server via foreman (web: bin/rails server -p 3000), it seems that I can't use byebug. Byebug pauses the process when I need it, but I can't seem to interact with it (can't write anything in the console), as if foreman took the focus and didn't allow for that.

However it works as expected if I run the rails server in parallel (so web: is commented out in Procfile.dev, and I manually run bin/rails s in another terminal).

Chris Oliver do you have the same issue? Or do you never use byebug?
Mmh, seems because of foreman: https://github.com/ddollar/foreman/issues/703#issuecomment-528276622
Ok, between the above issue (not being able to use byebug) and some random cases of missing output (even after trying to tips on https://github.com/ddollar/foreman/wiki/Missing-Output), I've replaced foreman with overmind, and it works perfectly.

See https://evilmartians.com/chronicles/introducing-overmind-and-hivemind for details.

I proposed a PR to do this: https://github.com/jumpstart-pro/jumpstart-pro/pull/87


Notifications
You’re not receiving notifications from this thread.