VX(Be): Add debugging callback