I don't find it particularly difficult to debug, it's simple enough to see what's happening with the requests and responses, but there are definitely situations where it can be hard to understand what's going wrong.
I've tried to log the most obvious problems to console to make it easier to understand what's going on.