debug session helper