Add public function for enable event stream debugging.

This commit is contained in:
Andrey Antukh 2020-03-10 11:44:57 +01:00
parent 5e91f05a7b
commit 8f2e31cafa
2 changed files with 15 additions and 7 deletions

View file

@ -84,3 +84,8 @@
[]
(when (= "main" (unchecked-get js/window app-sym))
(reinit)))
(defn ^:export toggle-debug
[]
(swap! st/*debug* not))