Update to use hDebug