Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,11 @@ https://defold.com/extension-websocket/websocket_api/

## Debugging

In order to make it easier to debug this extension, we provide a `game.project` setting `websocket.debug` (edit `game.project` as text and add):
In order to make it easier to debug this extension, we provide a `game.project` setting `websocket.debug`. Set it to:

```
[websocket]
debug = level
```

Set it to:

* `0` to disable debugging (i.e. no debug output).
* `1` to display state changes.
* `2` to display the messages sent and received.
* `disabled` to disable debugging (i.e. no debug output).
* `state` to display state changes.
* `verbose` to display the messages, state changes and more.

## External resources

Expand Down
Loading
Loading