more concise debug logs from pty_process.py