Fix to debug mode toggle
Create debug data-dump engine #2