debug: added support for SIGINFO for BSD and Mac
docs: added note about SIGINFO and Ctrl+T un BSD/Mac
Merge pull request #9719 from SaveTheRbtz/signal-debugging

Print debug info not only on `SIGUSR1` but also on `SIGINFO`