Skip to content

Commit

Permalink
Fix typo in Debug.md
Browse files Browse the repository at this point in the history
There was a copy&paste error in the snippet for the `websocket` flag.
  • Loading branch information
Skn0tt committed Jan 18, 2024
1 parent 9fb1f8a commit 08070df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/Debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <ip_address>
```
```

0 comments on commit 08070df

Please sign in to comment.