new global: $max_debug_chars_display: control length limit of debug output