The example in the readme uses a debug method. This method does not exists. It's eiter a bug in the documentation or a bug in the implementation.