Resolves #2: Resurrect PDebug macros as a debug framework