From 08070df0551044474aa6a3dd3c952de8bd1ca2dc Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 18 Jan 2024 12:08:14 +0100 Subject: [PATCH] Fix typo in Debug.md There was a copy&paste error in the snippet for the `websocket` flag. --- docs/api/Debug.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/Debug.md b/docs/api/Debug.md index 1a1794c0ad9..7efc99e3e31 100644 --- a/docs/api/Debug.md +++ b/docs/api/Debug.md @@ -53,10 +53,10 @@ This flag enables debug statements for the `Websocket` API. > **Note**: statements can overlap with `UNDICI` ones if `undici` or `fetch` flag has been enabled as well. ```sh -NODE_DEBUG=fetch node script.js +NODE_DEBUG=websocket node script.js WEBSOCKET 18309: connecting to echo.websocket.org using https:h1 WEBSOCKET 18309: connected to echo.websocket.org using https:h1 WEBSOCKET 18309: sending request to GET https://echo.websocket.org// WEBSOCKET 18309: connection opened -``` \ No newline at end of file +```