Temporarily restore old Debug methods

-- Sentry apparently calls these for some reason. We need to get the
calls out of Sentry before we can delete them entirely.
(And any other plugins that might call them.)  --- I don't think I'm
using DebugElements correctly. Ah well, doesn't matter, as long as
nothing crashes/errors/...