I'm saving debug logs for iTerm2 but why can't I find them?
Perhaps that message is from a time where the temporary directory was indeed /tmp many macOS versions ago. Nowadays macOS manages a private temporary directory per GUI user which is provided as the environment variable $TMPDIR somewhere in /var/folders — try open $TMPDIR/debuglog.txt.