Skip to content

Commit fb61c75

Browse files
committed
docs: debbuging information should appear on the main page
1 parent e86d87e commit fb61c75

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

content/pybytes/api/_index.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ aliases:
44
- pybytes/api
55
---
66

7+
8+
If you are facing any issues try to enable debugging.
9+
10+
### Debugging
11+
There are multiple debug levels, 0 is warnings only, 6 is currently the highest used).
12+
13+
#### use:
14+
15+
import pycom;
16+
17+
pycom.nvs_set('pybytes_debug', debugLevel)
18+
19+
20+
#### e.g.
21+
```
22+
>> import pycom;
23+
>> pycom.nvs_set('pybytes_debug', 6)
24+
```
25+
26+
27+
# API List
28+
729
* [Add custom method](add_custom_method)
830

931
* [Activate](activate)

0 commit comments

Comments
 (0)