This is a first stab at fixing https://github.com/deivid-rodriguez/byebug/issues/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?
Resolves https://github.com/deivid-rodriguez/byebug/issues/830
This is a first stab at fixing https://github.com/deivid-rodriguez/byebug/issues/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: