feat(debug): add debug for registered states

I found the need to debug all the registered states and could not find a way to easily do it. This is my proposal for debugging all the registered states.