Revert "Revert "debug""

This reverts commit 925000f681351759a319a095b7daa2861c8b84c3.