Revert "debug: make the Kernel leaner - picked from @morfic"

This reverts commit 2d86cde65e56ebe60e878631242a7d7a0a7088c9.