-
Notifications
You must be signed in to change notification settings - Fork 0
Debugging
MorquinDevlar edited this page Aug 20, 2026
·
4 revisions
Enable verbose debug output for drag/drop, layout, and dock operations:
mdw.debugMode = true-- Print saved layout details to main window
mdw.showLayout()
-- Print current widget state to main window
mdw.showWidgets()
-- The live layout as plain data (docks, rows, groups, floats, hidden widgets)
display(mdw.describeLayout())If the UI is ever half-torn - a script-editor save that re-ran MDW's scripts over a live session, say (MDW schedules its own rebuild in that case) - mdw.rebuild() or the gear menu's Rebuild UI tears everything down and builds it fresh, consumer registrations included. mdw.resetLayout() does the same after throwing the saved layout away.