We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dca5a7 commit 4579154Copy full SHA for 4579154
runtime/fundamentals/debugging.md
@@ -201,3 +201,16 @@ including:
201
For full details on Deno's OpenTelemetry integration, including custom metrics,
202
traces, and configuration options, see the
203
[OpenTelemetry documentation](/runtime/fundamentals/open_telemetry).
204
+
205
+## TLS session debugging
206
207
+Set the `SSLKEYLOGFILE` environment variable to log TLS session keys to a file.
208
+This enables you to decrypt and inspect encrypted network traffic with tools
209
+like [Wireshark](https://www.wireshark.org/):
210
211
+```sh
212
+SSLKEYLOGFILE=./keys.log deno run -N main.ts
213
+```
214
215
+Then load `keys.log` in Wireshark (Edit > Preferences > Protocols > TLS >
216
+(Pre)-Master-Secret log filename) to decrypt captured TLS traffic.
0 commit comments