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

Switch foreground process group #831

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Mangara
Copy link

@Mangara Mangara commented Feb 13, 2022

Resolves #830

This is a first stab at fixing #830 by switching the foreground process group to the one byebug is running in, if it detects it is running in a background process group. It's not fully ready, but I'd like feedback on the general approach before polishing it further.

TODO:

  • Switch back to the original foreground process group after debugging?
  • Check cross-platform operation
  • Evaluate for unintended side-effects
  • Documentation
  • Tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Byebug does not work when called in a background process group
1 participant