add debug helper support to session