deivid-rodriguez / byebug

Debugging in Ruby 2
BSD 2-Clause "Simplified" License
3.34k stars 328 forks source link

Switch foreground process group #831

Open Mangara opened 2 years ago

Mangara commented 2 years ago

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: