Add new debug panel

This commit is contained in:
alonso.torres 2024-01-29 14:18:58 +01:00 committed by Andrés Moya
parent 0a69bc03b0
commit 440983d2b9
7 changed files with 227 additions and 7 deletions

View file

@ -57,14 +57,14 @@
:app.main.data.websocket/send-message
:app.main.data.workspace.selection/change-hover-state})
(defn- enable!
(defn enable!
[option]
(dbg/enable! option)
(when (= :events option)
(set! st/*debug-events* true))
(js* "app.main.reinit()"))
(defn- disable!
(defn disable!
[option]
(dbg/disable! option)
(when (= :events option)