Revert "Revert "debug""

This reverts commit a22cf3e90b08931d911f418e1dfe7f6e9a00dfdc.