function run_debug(m, n)
{
	if (m == 1) {
		ENIGMA.debug_string += ENIGMA.plaintext.charAt(n);
		if (ENIGMA.debug_wiring == 1) {
			document.getElementById('showDebug').value += ENIGMA.debug_string + "\n";
		}
		ENIGMA.debug_string = "";
	} else {
		ENIGMA.debug_string += ENIGMA.plaintext.charAt(n) + " > ";
	}
}
/* FUNCTION --------------------------------------------------------
	Debug wiring - capture current state of text at change points
	Only displayed to screen if debug_wiring is on.
   ----------------------------------------------------------------- */
FUNCTION
Debug wiring - capture current state of text at change points
Only displayed to screen if debug_wiring is on.
FUNCTION Debug wiring - capture current state of text at change points Only displayed to screen if debug_wiring is on .
function run_debug(m, n)
{
	if (m == 1) {
		ENIGMA.debug_string += ENIGMA.plaintext.charAt(n);
		if (ENIGMA.debug_wiring == 1) {
			document.getElementById('showDebug').value += ENIGMA.debug_string + "\n";
		}
		ENIGMA.debug_string = "";
	} else {
		ENIGMA.debug_string += ENIGMA.plaintext.charAt(n) + " > ";
	}
}
function run_debug ( m , n ) { if ( m == 1 ) { ENIGMA . debug_string += ENIGMA . plaintext . charAt ( n ) ; if ( ENIGMA . debug_wiring == 1 ) { document . getElementById ( 'showDebug' ) . value += ENIGMA . debug_string + "\n" ; } ENIGMA . debug_string = "" ; } else { ENIGMA . debug_string += ENIGMA . plaintext . charAt ( n ) + " > " ; } }
FUNCTION
Debug wiring - capture current state of text at change points
Only displayed to screen if debug_wiring is on.
FUNCTION Debug wiring - capture current state of text at change points Only displayed to screen if debug_wiring is on .