Commit 3f1787b
crypto: add debug info client emit secureConnect
Currently, when debugging a TLS connection there might be multiple debug
statements 'client emit secureConnect' for the 'secureConnect` event
when using NODE_DEBUG='tls'. While it is possible to step through this
with a debugger that is not always the fastest/easiest to do if
debugging remote code.
This commit adds some additional information to the debug statements to
make it easier to distinguish where the debug statements are coming
from.
PR-URL: #28067
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent d1c53fc commit 3f1787bCopy full SHA for 3f1787b
File tree
Expand file treeCollapse file tree
1 file changed
+4
-2
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+4
-2
lines changedOpen diff view settings
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1335 | 1335 | |
1336 | 1336 | |
1337 | 1337 | |
1338 | | - |
| 1338 | + |
| 1339 | + |
| 1340 | + |
1339 | 1341 | |
1340 | 1342 | |
1341 | 1343 | |
1342 | 1344 | |
1343 | | - |
| 1345 | + |
1344 | 1346 | |
1345 | 1347 | |
1346 | 1348 | |
|
0 commit comments