Skip to content

Commit a244480

Browse files
committed
docs: add note about debug array option in connection options
1 parent 86524b4 commit a244480

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ issue [#501](https://github.com/mysqljs/mysql/issues/501). (Default: `false`)
213213
* `dateStrings`: Force date types (TIMESTAMP, DATETIME, DATE) to be returned as strings rather then
214214
inflated into JavaScript Date objects. Can be `true`/`false` or an array of type names to keep as
215215
strings. (Default: `false`)
216-
* `debug`: Prints protocol details to stdout. (Default: `false`)
216+
* `debug`: Prints protocol details to stdout. Can be `true`/`false` or an array of packet type names
217+
that should be printed. (Default: `false`)
217218
* `trace`: Generates stack traces on `Error` to include call site of library
218219
entrance ("long stack traces"). Slight performance penalty for most calls.
219220
(Default: `true`)

0 commit comments

Comments
 (0)