[Rep]: Resharp and add debug output