You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/debugging.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,21 @@ const client = Client({
19
19
});
20
20
```
21
21
22
+
### Debug Panel options
23
+
24
+
You can use the `collapseOnLoad` option to hide the panel by default when the client loads. The `hideToggleButton` option removes the toggle button on the side of the panel which means you can only use the keyboard shortcut to toggle its visibility.
25
+
26
+
```js
27
+
constclient=Client({
28
+
// ...
29
+
debug: {
30
+
// ...
31
+
collapseOnLoad:true/false,
32
+
hideToggleButton:true/false
33
+
},
34
+
});
35
+
```
36
+
22
37
### Custom metadata in game logs
23
38
24
39
It can sometimes be helpful to surface some metadata during a move.
0 commit comments