diff options
author | cjihrig <cjihrig@gmail.com> | 2019-04-30 12:19:10 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-05-02 12:37:54 -0400 |
commit | 495822f544a34feadc8d8c19e674f0b00eefefd6 (patch) | |
tree | d3c1cdbe215d010a5a6d811bdc7e5c23cbcb9295 /doc | |
parent | c6a2fdf3aa8f8db7344ae7c530468b9feb715086 (diff) | |
download | android-node-v8-495822f544a34feadc8d8c19e674f0b00eefefd6.tar.gz android-node-v8-495822f544a34feadc8d8c19e674f0b00eefefd6.tar.bz2 android-node-v8-495822f544a34feadc8d8c19e674f0b00eefefd6.zip |
tls,cli: add --trace-tls command-line flag
This commit adds a --trace-tls command-line flag. The
purpose is to enable tracing of TLS connections without the
need to modify existing application code.
PR-URL: https://github.com/nodejs/node/pull/27497
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cli.md | 9 | ||||
-rw-r--r-- | doc/node.1 | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index c0682d864c..50185b0cc0 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -632,6 +632,14 @@ added: v2.1.0 Prints a stack trace whenever synchronous I/O is detected after the first turn of the event loop. +### `--trace-tls` +<!-- YAML +added: REPLACEME +--> + +Prints TLS packet trace information to `stderr`. This can be used to debug TLS +connection problems. + ### `--trace-warnings` <!-- YAML added: v6.0.0 @@ -889,6 +897,7 @@ Node.js options that are allowed are: - `--trace-event-file-pattern` - `--trace-events-enabled` - `--trace-sync-io` +- `--trace-tls` - `--trace-warnings` - `--track-heap-objects` - `--unhandled-rejections` diff --git a/doc/node.1 b/doc/node.1 index 1fa5ce7f65..5c0e23d701 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -302,6 +302,9 @@ Enable the collection of trace event tracing information. .It Fl -trace-sync-io Print a stack trace whenever synchronous I/O is detected after the first turn of the event loop. . +.It Fl -trace-tls +Prints TLS packet trace information to stderr. +. .It Fl -trace-warnings Print stack traces for process warnings (including deprecations). . |