debug-shell: add condition for tty device to run on