Adding debugging to sender process