Ensure subshells get the debug trap, too
Record the current pid