mechat debug