How to Debug/test keepers code?

My keeper responsible for updating state is not working or the one that query state is not working. How do I print statements? Debug?