setdebug

Configures the debug mode to Tera Term.

setdebug <flag>

Remarks

Set the debug flag of Tera Term by using below flags. It is possible to wait the control code to enabling the debug mode.

0: no debug: output as usual
1: usual teraterm debug mode (described in here)
2: hex output. Received bytes are printed in hex format (capital letters) separated by a space
3: disable output completely

Example

setdebug 2
wait '09 0D 0A'
setdebug 0
setdebug 1
wait '^I^M^J'
setdebug 0

See also