Revert "first version of debug"

This reverts commit da1a1ce97286bd7ef79427381bc60a6772d2b0e9.