better debugging system
Revert "better debugging system"

This reverts commit 9edbfbe44bc4807c70f08f5f4ff2a90eaa172479.
Revert "Revert "better debugging system""

This reverts commit 232aac5c543982210c80883e1d8cc7142bb3007c.