Add debugging support via debug module