Skip to content
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

byebug hangs forrails start command in WSL #33

Closed
ihollander opened this issue Sep 1, 2021 · 2 comments
Closed

byebug hangs forrails start command in WSL #33

ihollander opened this issue Sep 1, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ihollander
Copy link
Contributor

Students reporting that byebug isn't working when running Rails with the rails start command in WSL.

A workaround is to run the React server and Rails server separately with npm start and rails s.

@ihollander ihollander added the bug Something isn't working label Sep 1, 2021
@ihollander ihollander self-assigned this Sep 1, 2021
@ihollander
Copy link
Contributor Author

@andy-aguilar tagging you for updates - I'll post updates here when I'm able to reproduce the issue and come up with a fix or update the documentation.

@ihollander
Copy link
Contributor Author

It seems like this is a known issue with foreman, which is what we use to run Rails and React processes in the same terminal. Given that this makes it challenging to debug using byebug, I'm going to remove the rails start command from all labs and instruct students to run Rails and React separately in their own terminals.

ihollander added a commit to learn-co-curriculum/phase-4-rails-create-read-lab that referenced this issue Sep 2, 2021
ihollander added a commit to learn-co-curriculum/phase-4-rails-update-destroy-lab that referenced this issue Sep 2, 2021
ihollander added a commit to learn-co-curriculum/phase-4-mini-project-crud that referenced this issue Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant