How to debug failing updates for custom post type?

How to debug failing updates for custom post type?