debug replica