feat(debug): implemented debug