From 4862e598f7dd0270fb87fd53c997a5f617f49960 Mon Sep 17 00:00:00 2001 From: <> Date: Sun, 30 Jan 2022 23:57:45 +0000 Subject: [PATCH] Update documentation --- 404.html | 2 +- categories/index.html | 15 +- docs/crypto_libraries/index.html | 15 +- docs/examples/index.html | 15 +- .../guides/01_choose_content_topic/index.html | 15 +- .../02_relay_receive_send_messages/index.html | 33 +- .../03_store_retrieve_messages/index.html | 33 +- .../04_encrypt_messages_version_1/index.html | 15 +- .../05_sign_messages_version_1/index.html | 15 +- .../06_light_push_send_messages/index.html | 33 +- docs/guides/07_reactjs_relay/index.html | 15 +- docs/guides/08_reactjs_store/index.html | 15 +- docs/guides/09_debug/index.html | 679 ++++++++++++++++++ docs/guides/index.html | 32 +- docs/guides/index.xml | 14 + docs/guides/vote_poll_sdk/index.html | 15 +- .../poll_sdk/01_create_dapp/index.html | 15 +- .../poll_sdk/02_connect_wallet/index.html | 15 +- .../03_create-a-poll_button/index.html | 15 +- .../poll_sdk/04_poll_creation/index.html | 15 +- .../poll_sdk/05_poll_list/index.html | 15 +- docs/guides/vote_poll_sdk/poll_sdk/index.html | 15 +- docs/index.html | 15 +- docs/introduction/index.html | 15 +- docs/presentations/index.html | 15 +- docs/quick_start/index.html | 15 +- docs/use_cases/index.html | 15 +- docs/waku_protocols/index.html | 15 +- ...c204e3084985d715b3fed15fe5da9627593e1.json | 1 + ...e44ee73614cacece3ea562857541eeebf445bc7.js | 1 + en/sitemap.xml | 11 +- index.html | 15 +- index.xml | 14 + sitemap.xml | 2 +- tags/index.html | 15 +- 35 files changed, 1135 insertions(+), 65 deletions(-) create mode 100644 docs/guides/09_debug/index.html create mode 100644 en.search-data.min.027a509f040b96745c9d3697ed7c204e3084985d715b3fed15fe5da9627593e1.json create mode 100644 en.search.min.ee0f6cf0db0a81ce685772349e44ee73614cacece3ea562857541eeebf445bc7.js diff --git a/404.html b/404.html index 985ce2b..ce1c6e2 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@ - + + + + + + +
+ + +
+
+ +
+ + + How to Debug your Waku dApp + + +
+ + + + + + +
+ + + +

+ How to Debug your Waku dApp + # +

+

JS-Waku and its most relevant dependencies (libp2p) uses debug to handle logs.

+

+ NodeJS + # +

+

To enable debug logs when running js-waku with NodeJS, simply set the DEBUG environment variable.

+

To only enable js-waku debug logs:

+
export DEBUG=waku*
+

To enable js-waku and libp2p debug logs:

+
export DEBUG=waku*,libp2p*
+

To enable all debug logs:

+
export DEBUG=*
+

+ Browser + # +

+

To see the debug logs in your browser’s console, you need to modify the local storage and add debug key.

+

Here are guides for some modern browsers:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
keyvalueeffect
debugwaku*enable js-waku debug logs
debugwaku*,libp2p*enable js-waku and libp2p debug logs
debug*enable all debug logs
+
+ + + +
+ + + + + + + + + + +
+ + + +
+ +
+ + + + +
+ + + + +
+ + + + + + + + + + + + + + + + diff --git a/docs/guides/index.html b/docs/guides/index.html index 97f7472..18705b3 100644 --- a/docs/guides/index.html +++ b/docs/guides/index.html @@ -3,7 +3,7 @@ - + @@ -15,7 +15,7 @@ - +