Debugging helper class