Skip to main content
TLSSocket.prototype.enableTrace - node__tls.d.ts - Node documentation
method TLSSocket.prototype.enableTrace

Usage in Deno

```typescript import { TLSSocket } from "node:node__tls.d.ts"; ```
TLSSocket.prototype.enableTrace(): void
When enabled, TLS packet trace information is written to `stderr`. This can be used to debug TLS connection problems. The format of the output is identical to the output of`openssl s_client -trace` or `openssl s_server -trace`. While it is produced by OpenSSL's `SSL_trace()` function, the format is undocumented, can change without notice, and should not be relied on.

Return Type

void