Debug stage