feat(debug): add debug for registered states