aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie Allom <yeled@github.com>2018-02-16 17:45:46 +0000
committerTollef Fog Heen <tfheen@err.no>2018-02-16 21:29:10 +0100
commit2b17be3f793b0ed9b713e0356cca951f46d4c87f (patch)
tree0165b48f14f75c46e766cf1f2a9495308154336d
parent549cc34f75b5f34338f1de1b0fa8b34c60622c5b (diff)
downloadwee-slack-2b17be3f793b0ed9b713e0356cca951f46d4c87f.tar.gz
debugging help
In #504 I proposed to add some help to future debuggers. This is a split PR from that. cc: @trygveaa
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 51d45a4..614437d 100644
--- a/README.md
+++ b/README.md
@@ -278,12 +278,21 @@ Show channel name in hotlist after activity
/set weechat.look.hotlist_names_level 14
```
+Debugging
+--------------
+
Enable debug mode and change debug level (default 3, decrease to increase logging and vice versa):
```
/set plugins.var.python.slack.debug_mode on
/set plugins.var.python.slack.debug_level 2
```
+Dump the JSON responses in `/tmp/weeslack-debug/`. Requires a script reload.
+```
+/set plugins.var.python.slack.record_events true
+```
+
+
Support
--------------