Fix debug session