feat(debug): introduce optional debug mode