Revert "FIX: debug does not work properly"

This reverts commit b8221bdc57b5681c4564f417abe15735806e0ec0.