add Debug mode in Ctx