add tlsconfig to DebugPrintln